Comments (11)
Glad I was able to help. :)
from cent.
Hi,
in the future I will implement new features to make cent better from this point of view.
from cent.
I think you should do something like this...
- Delete the duplicates from the cent folder like same cves or try comparing the content there is a tool named fdupes that can help you with that.
- Update the original nuclei templates and then install all this custom templates and then compare them, and delete the duplicates from the cent folder.
Reference:
https://www.tecmint.com/fdupes-find-and-delete-duplicate-files-in-linux/
*Also try other tools maybe you will find something better than this.
from cent.
Hi,
I really want to thank you, your reference helped me a lot.
I released version 1.0 of cent with template deduplication using fdupes
.
Try it now and let me know if works
from cent.
How do you remove duplicates??
Do you compare the original templates and custom templates?
from cent.
And also remove this: https://github.com/pikpikcu/nuclei-templates
That user just forked the original templates...
from cent.
How do you remove duplicates??
Do you compare the original templates and custom templates?
Hi,
the dedupe of the templates is done through hashing thanks to the @hakluke pull request.
You can check the code here: RemoveDuplicates() function
...
func RemoveDuplicates(path string, console bool) {
fmt.Println("Removing duplicate templates...")
files := getFilePaths(path)
hashes := make(map[string]string)
// get file hashes
for _, file := range files {
hashes[file] = getFileHash(file)
}
...
...
...
from cent.
And also remove this: https://github.com/pikpikcu/nuclei-templates
That user just forked the original templates...
I apologize for this, I have not updated the readme
with all the links anymore, but if you check the .cent.yaml
file you will see that it is not there and it has been updated with the new pikpikcu repo ( my-nuclei-templates )
from cent.
Hi!
Ok! But do you remove the templates which are already in pd's repo?
Because it will just burst with duplicates templates and disrupt the server with same requests twice...
from cent.
Yes, I recommend you to insert the main repo also in the .cent.yaml
, in this way cent will also remove all the possible duplicates with respect to the main repo as well
...
community-templates:
- https://github.com/projectdiscovery/nuclei-templates.git
...
from cent.
Oh Okay!
My bad, I didn't notice it. I will let you know if I have any other ideas or something, closing this issue for now.
Have a great day!
from cent.
Related Issues (20)
- does not clone repositories to a directory HOT 6
- Issue with moving files HOT 2
- The Folder is empty after running HOT 11
- List of 100 repo's stuck at the end HOT 4
- Explain this. HOT 6
- WRN HOT 2
- error
- Extending HOT 1
- the folder is empty in C disk and but when i installed D disk its worked for me, like metasploit.. did this affect with low spec device? HOT 2
- i/o timeout HOT 2
- Can't run cent init HOT 2
- new templates HOT 2
- duplicate nuclei template question HOT 6
- bug about .cent.yaml HOT 1
- Add summary table HOT 2
- Clear old and corrupted repos HOT 4
- Fix bug in copying files with special characters in file path
- How can I update cent itslef? HOT 4
- Cent validate "--path" flag not working HOT 4
- runtime/cgo: pthread_create failed: Resource temporarily unavailable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cent.