-
Notifications
You must be signed in to change notification settings - Fork 100
Home
PyCk is a simple project contains some useful and simple python scripts that may be helpful in penetration testing. This project can be used for learning scripting with Python and creating simple pentesting tools. I used different and multiple ways by using different libraries to show how we can program a script with different libraries. That may help beginners to learn different libraries and their usage.
I included different categories on the last release for ease of use. Each directory/category contains some scripts related to that category, In each directory, you'll find a README.md
file that describes the usage of each script.
For a better understanding of any script, you can take a look at the comments in that script so you can understand what it does.
Writing your own code and tools is good, but writing code and tools that
can also be useful as modules too, not just standalone tools are better.
The simplest way to do this is to implement the main logic of a program in
a function and then create a main()
function that does argument parsing and
passing to the logic function.
For example
def logicCode(x, z):
return(x, z)
def main():
//Do ArgParse
print(logicCode(x, z)
if __name__ == "__main__":
main()
This way you can use the logic implimented in logicCode in other scripts. Writing modular code is a good mindset to get into when writing security tools because modularity can lead to making automation easier.
For more learning about usage of python on pentesting and hacking you can study these books and references:
Note: If you don't want to buy those books and don't care about license you may find them free on internet, Simply search them :)
This project is licensed under the GNU GPLv3 License - see the LICENSE file for details.
But you can do what you want with it yet, there is no problem :)
Also, some of these scripts collected from the internet and I just modified them, In modified scripts, you can see the original writer name.