From 02eeedc9589d03b606a2ed7c598b7b667c81dccf Mon Sep 17 00:00:00 2001 From: Omar Santos Date: Sat, 17 Jul 2021 11:36:49 -0400 Subject: [PATCH] adding scripting resources --- .../basic_programming_resources.md | 44 ++++++++++++++++++ .../{ => exploitation}/arp_cache_poisoner.py | 0 .../{ => exploitation}/cookie_stealer.py | 0 .../dll_injection_example.py | 0 .../{ => exploitation}/pyshark_example.py | 0 .../{ => exploitation}/python_cool_tricks.md | 0 .../{ => post_exploitation}/armor.sh | 0 .../{ => post_exploitation}/exfil-scapy.md | 0 .../post_exploitation}/letmeout.sh | 0 .../post_exploitation}/reverse_shells.md | 0 .../recon_scripts}/dns_recon.md | 0 .../recon_scripts}/host_DNS_enum.sh | 0 .../{ => recon_scripts}/http_sniffer.py | 0 .../{ => recon_scripts}/python_nmap.py | 0 .../python_nmap_examples.ipynb | 0 .../{ => recon_scripts}/python_sniffer.py | 0 .../{ => recon_scripts}/quick_scanner.py | 0 .../{ => recon_scripts}/scapscan.py | 0 .../{ => recon_scripts}/simple_scapy_scan.py | 0 .../recon_scripts}/snmp.md | 0 .../recon_scripts}/tcpdump.md | 0 .../recon_scripts}/tcpdump.pdf | Bin 22 files changed, 44 insertions(+) create mode 100644 programming_and_scripting_for_cybersecurity/basic_programming_resources.md rename programming_and_scripting_for_cybersecurity/{ => exploitation}/arp_cache_poisoner.py (100%) rename programming_and_scripting_for_cybersecurity/{ => exploitation}/cookie_stealer.py (100%) rename programming_and_scripting_for_cybersecurity/{ => exploitation}/dll_injection_example.py (100%) rename programming_and_scripting_for_cybersecurity/{ => exploitation}/pyshark_example.py (100%) rename programming_and_scripting_for_cybersecurity/{ => exploitation}/python_cool_tricks.md (100%) rename programming_and_scripting_for_cybersecurity/{ => post_exploitation}/armor.sh (100%) rename programming_and_scripting_for_cybersecurity/{ => post_exploitation}/exfil-scapy.md (100%) rename {useful_commands_and_scripts => programming_and_scripting_for_cybersecurity/post_exploitation}/letmeout.sh (100%) rename {useful_commands_and_scripts => programming_and_scripting_for_cybersecurity/post_exploitation}/reverse_shells.md (100%) rename {useful_commands_and_scripts => programming_and_scripting_for_cybersecurity/recon_scripts}/dns_recon.md (100%) rename {useful_commands_and_scripts => programming_and_scripting_for_cybersecurity/recon_scripts}/host_DNS_enum.sh (100%) rename programming_and_scripting_for_cybersecurity/{ => recon_scripts}/http_sniffer.py (100%) rename programming_and_scripting_for_cybersecurity/{ => recon_scripts}/python_nmap.py (100%) rename programming_and_scripting_for_cybersecurity/{ => recon_scripts}/python_nmap_examples.ipynb (100%) rename programming_and_scripting_for_cybersecurity/{ => recon_scripts}/python_sniffer.py (100%) rename programming_and_scripting_for_cybersecurity/{ => recon_scripts}/quick_scanner.py (100%) rename programming_and_scripting_for_cybersecurity/{ => recon_scripts}/scapscan.py (100%) rename programming_and_scripting_for_cybersecurity/{ => recon_scripts}/simple_scapy_scan.py (100%) rename {useful_commands_and_scripts => programming_and_scripting_for_cybersecurity/recon_scripts}/snmp.md (100%) rename {useful_commands_and_scripts => programming_and_scripting_for_cybersecurity/recon_scripts}/tcpdump.md (100%) rename {useful_commands_and_scripts => programming_and_scripting_for_cybersecurity/recon_scripts}/tcpdump.pdf (100%) diff --git a/programming_and_scripting_for_cybersecurity/basic_programming_resources.md b/programming_and_scripting_for_cybersecurity/basic_programming_resources.md new file mode 100644 index 0000000..319d38c --- /dev/null +++ b/programming_and_scripting_for_cybersecurity/basic_programming_resources.md @@ -0,0 +1,44 @@ +# Basic Programming Resources and Tutorials + +## Python +- [Awesome Python - GitHub Repo](https://github.com/vinta/awesome-python) +- [Python Tutorials in W3 Schools](https://www.w3schools.com/python/python_for_loops.asp) +- [Full Stack Python](https://www.fullstackpython.com/) +- [Python Cheatsheet](https://www.pythoncheatsheet.org/) +- [Real Python](https://realpython.com) +- [The Hitchhiker’s Guide to Python](https://docs.python-guide.org/) +- [Ultimate Python study guide](https://github.com/huangsam/ultimate-python) +- [Python @LibHunt](https://python.libhunt.com/) +- [Python ZEEF](https://python.zeef.com/alan.richmond) +- [Pythonic News](https://news.python.sc/) +- [What the f*ck Python!](https://github.com/satwikkansal/wtfpython) + + +## Bash and other Linux Shells +- [Awesome Shell](https://github.com/alebcay/awesome-shell) +- [Bash One-Liners](http://www.bashoneliners.com/) - A collection of practical or just pure awesome bash one-liners ([repos](https://github.com/janosgyerik/bashoneliners) by @[janosgyerik](https://github.com/janosgyerik)) +- [commandlinefu](http://www.commandlinefu.com/) - A repository for the most elegant and useful UNIX commands +- [Stack Overflow](http://stackoverflow.com/questions/tagged/bash) - Bash tag on Stack Overflow +- [/r/Bash](https://www.reddit.com/r/bash) - A subreddit dedicated to bash scripting +- [/r/CommandLine](https://www.reddit.com/r/commandline) - for anything regarding the command line, in any operating system +- [#bash IRC Channel](https://webchat.freenode.net/?channels=bash) +- [The Bash-Hackers Wiki](http://wiki.bash-hackers.org/doku.php) - Human-readable documentation of any kind about GNU Bash +- [Bash beginner's mistakes](http://wiki.bash-hackers.org/scripting/newbie_traps) (by the Bash-Hackers Wiki) +- [Bash Guide](http://mywiki.wooledge.org/BashGuide) - A bash guide for beginners. (by Lhunath) +- [Bash FAQ](http://mywiki.wooledge.org/BashFAQ) - Answers most of your questions (by Lhunath) +- [Bash Pitfalls](http://mywiki.wooledge.org/BashPitfalls) - Lists the common pitfalls beginners fall into, and how to avoid them +- [Bash manual](http://www.gnu.org/software/bash/manual/) - Bourne-Again Shell manual +- [Bash FAQ](http://tiswww.case.edu/php/chet/bash/FAQ) (by [Chet Ramey](http://tiswww.case.edu/php/chet/)) +- [Advanced Bash-Scripting Guide](http://tldp.org/LDP/abs/html/) - An in-depth exploration of the art of shell scripting +- [Bash Guide for Beginners](http://www.tldp.org/LDP/Bash-Beginners-Guide/html/) (by Machtelt Garrels) +- [Bash Programming - Intro/How-to](http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html#toc) +- [bash-handbook](https://github.com/denysdovhan/bash-handbook) - A handbook for those who want to learn Bash without diving in too deeply +- [Google's Shell Style Guide](https://google.github.io/styleguide/shell.xml) - Reasonable advice about code style +- [Sobell's Book](http://www.sobell.com/CR3/index.html) - A practical guide to commands, editors, and shell programming +- [WikiBooks: Bash Shell Scripting](https://en.wikibooks.org/wiki/Bash_Shell_Scripting) +- [Use the Unofficial Bash Strict Mode (Unless You Looove Debugging)](http://redsymbol.net/articles/unofficial-bash-strict-mode/) +- [learnyoubash](https://github.com/denysdovhan/learnyoubash) - An interactive workshopper which will teach you how to use the terminal and write your the first Bash script. +- [Defensive BASH Programming](https://web.archive.org/web/20180917174959/http://www.kfirlavi.com/blog/2012/11/14/defensive-bash-programming) - Methods to defend your programs from breaking as well as keeping the code tidy and clean. +- [Pure Bash Bible](https://github.com/dylanaraps/pure-bash-bible) - A collection of pure bash alternatives to external processes. + + diff --git a/programming_and_scripting_for_cybersecurity/arp_cache_poisoner.py b/programming_and_scripting_for_cybersecurity/exploitation/arp_cache_poisoner.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/arp_cache_poisoner.py rename to programming_and_scripting_for_cybersecurity/exploitation/arp_cache_poisoner.py diff --git a/programming_and_scripting_for_cybersecurity/cookie_stealer.py b/programming_and_scripting_for_cybersecurity/exploitation/cookie_stealer.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/cookie_stealer.py rename to programming_and_scripting_for_cybersecurity/exploitation/cookie_stealer.py diff --git a/programming_and_scripting_for_cybersecurity/dll_injection_example.py b/programming_and_scripting_for_cybersecurity/exploitation/dll_injection_example.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/dll_injection_example.py rename to programming_and_scripting_for_cybersecurity/exploitation/dll_injection_example.py diff --git a/programming_and_scripting_for_cybersecurity/pyshark_example.py b/programming_and_scripting_for_cybersecurity/exploitation/pyshark_example.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/pyshark_example.py rename to programming_and_scripting_for_cybersecurity/exploitation/pyshark_example.py diff --git a/programming_and_scripting_for_cybersecurity/python_cool_tricks.md b/programming_and_scripting_for_cybersecurity/exploitation/python_cool_tricks.md similarity index 100% rename from programming_and_scripting_for_cybersecurity/python_cool_tricks.md rename to programming_and_scripting_for_cybersecurity/exploitation/python_cool_tricks.md diff --git a/programming_and_scripting_for_cybersecurity/armor.sh b/programming_and_scripting_for_cybersecurity/post_exploitation/armor.sh similarity index 100% rename from programming_and_scripting_for_cybersecurity/armor.sh rename to programming_and_scripting_for_cybersecurity/post_exploitation/armor.sh diff --git a/programming_and_scripting_for_cybersecurity/exfil-scapy.md b/programming_and_scripting_for_cybersecurity/post_exploitation/exfil-scapy.md similarity index 100% rename from programming_and_scripting_for_cybersecurity/exfil-scapy.md rename to programming_and_scripting_for_cybersecurity/post_exploitation/exfil-scapy.md diff --git a/useful_commands_and_scripts/letmeout.sh b/programming_and_scripting_for_cybersecurity/post_exploitation/letmeout.sh similarity index 100% rename from useful_commands_and_scripts/letmeout.sh rename to programming_and_scripting_for_cybersecurity/post_exploitation/letmeout.sh diff --git a/useful_commands_and_scripts/reverse_shells.md b/programming_and_scripting_for_cybersecurity/post_exploitation/reverse_shells.md similarity index 100% rename from useful_commands_and_scripts/reverse_shells.md rename to programming_and_scripting_for_cybersecurity/post_exploitation/reverse_shells.md diff --git a/useful_commands_and_scripts/dns_recon.md b/programming_and_scripting_for_cybersecurity/recon_scripts/dns_recon.md similarity index 100% rename from useful_commands_and_scripts/dns_recon.md rename to programming_and_scripting_for_cybersecurity/recon_scripts/dns_recon.md diff --git a/useful_commands_and_scripts/host_DNS_enum.sh b/programming_and_scripting_for_cybersecurity/recon_scripts/host_DNS_enum.sh similarity index 100% rename from useful_commands_and_scripts/host_DNS_enum.sh rename to programming_and_scripting_for_cybersecurity/recon_scripts/host_DNS_enum.sh diff --git a/programming_and_scripting_for_cybersecurity/http_sniffer.py b/programming_and_scripting_for_cybersecurity/recon_scripts/http_sniffer.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/http_sniffer.py rename to programming_and_scripting_for_cybersecurity/recon_scripts/http_sniffer.py diff --git a/programming_and_scripting_for_cybersecurity/python_nmap.py b/programming_and_scripting_for_cybersecurity/recon_scripts/python_nmap.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/python_nmap.py rename to programming_and_scripting_for_cybersecurity/recon_scripts/python_nmap.py diff --git a/programming_and_scripting_for_cybersecurity/python_nmap_examples.ipynb b/programming_and_scripting_for_cybersecurity/recon_scripts/python_nmap_examples.ipynb similarity index 100% rename from programming_and_scripting_for_cybersecurity/python_nmap_examples.ipynb rename to programming_and_scripting_for_cybersecurity/recon_scripts/python_nmap_examples.ipynb diff --git a/programming_and_scripting_for_cybersecurity/python_sniffer.py b/programming_and_scripting_for_cybersecurity/recon_scripts/python_sniffer.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/python_sniffer.py rename to programming_and_scripting_for_cybersecurity/recon_scripts/python_sniffer.py diff --git a/programming_and_scripting_for_cybersecurity/quick_scanner.py b/programming_and_scripting_for_cybersecurity/recon_scripts/quick_scanner.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/quick_scanner.py rename to programming_and_scripting_for_cybersecurity/recon_scripts/quick_scanner.py diff --git a/programming_and_scripting_for_cybersecurity/scapscan.py b/programming_and_scripting_for_cybersecurity/recon_scripts/scapscan.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/scapscan.py rename to programming_and_scripting_for_cybersecurity/recon_scripts/scapscan.py diff --git a/programming_and_scripting_for_cybersecurity/simple_scapy_scan.py b/programming_and_scripting_for_cybersecurity/recon_scripts/simple_scapy_scan.py similarity index 100% rename from programming_and_scripting_for_cybersecurity/simple_scapy_scan.py rename to programming_and_scripting_for_cybersecurity/recon_scripts/simple_scapy_scan.py diff --git a/useful_commands_and_scripts/snmp.md b/programming_and_scripting_for_cybersecurity/recon_scripts/snmp.md similarity index 100% rename from useful_commands_and_scripts/snmp.md rename to programming_and_scripting_for_cybersecurity/recon_scripts/snmp.md diff --git a/useful_commands_and_scripts/tcpdump.md b/programming_and_scripting_for_cybersecurity/recon_scripts/tcpdump.md similarity index 100% rename from useful_commands_and_scripts/tcpdump.md rename to programming_and_scripting_for_cybersecurity/recon_scripts/tcpdump.md diff --git a/useful_commands_and_scripts/tcpdump.pdf b/programming_and_scripting_for_cybersecurity/recon_scripts/tcpdump.pdf similarity index 100% rename from useful_commands_and_scripts/tcpdump.pdf rename to programming_and_scripting_for_cybersecurity/recon_scripts/tcpdump.pdf