(Dec 16, 2018 10:22 AM)4ground_daemon Wrote: Hey man nice scripts just a few tips id suggest if you wanted to improve them.
some scripts have "file.read().splitlines()" when instead it could just be file.readlines()
Some scripts like the admin finder say get(link) which is fine but if the page holds(which iv had before) your script will just get stuck and wait. i would add timeout=2 for safety. this way the max it will hold is 2 seconds.
I would also look into using threads as this will speed things up a lot more. instead of testing one admin page at a time you could use 20 threads and do 20 at once. Only really useful on networking tools though because you are waiting on the network delay.
But in general nice stuff man!
The method he is using with file.read().splitlines() actually has a very good use case when you need to omit newline and carriage return characters. readlines() will leave them in by default and tends to leave them as trailing characters that can screw stuff up. Just thought you'd find that worth knowing. :)
Malware Dev & Grey Hat available for contract work. DM if you need me.
OSCP, OSCE, OSEE, OSWE, OSWP, CEH, CISSP
Yeah, I've been around a while