Skip to content
/ GruntPy Public

A basic grunt work project for new coming penetration testing students to learn about the in and outs of the first stage of hacking and networking

Notifications You must be signed in to change notification settings

Vyiel/GruntPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GruntPy

Latest Update : Migrated from Python 2.7 to Python 3.x Do report errors for me to fix

Introduction: A basic grunt work project for new coming penetration testing students to learn about the in and outs of the first stage of hacking and networking. This is from a basic view, a TCP, UDP and Ping scanner. The scanners are scripted from the very powerfull tool 'Scapy' I have made this project (My first ever python project) keeping in mind about the new comers in this field by crafting almost everything from scratch. Like IPv4 Validation, IPv4 subnet and available host calculation are written from scratch instead of just using IPaddress and Netaddr modules. This would help new comers to understand about the in and outs of common scanning methods, Subnetting for the network guys, and coding one's way in a real world project for coding guys. I have intentionally kept this project interactive unlike CLI Arugumentative like NMAP. This will help new comers to learn the How things, instead of remembering exact sequnce of letters in argumentative instructions. I have separated the IPv4 validation and Subnet calculation codes in modules, for understanding purposes and also can be imported into other python apps as modules or using it as stand alone application. New scanner codes can be written to the scanners.py file and the function name can be easily added by just adding the name into a dictionary in the main() function. Banner Grabbing, Whois Lookup and Batch IP scanning has been introduced

current bugs: -> Loopback or 127.0.0.1 doesn't work. Looking to fix it soon enough.

Requirments: -> Latest versions of npcap or winpcap, Python 2.x, scapy 2.4.0, termcolor

installation: -> pip install scapy==2.4.0, pip install termcolor

usage: -> Basically nothing to explicitly mention. As easy as answering questions. By default(not for Batch IP scanning), Just run the file with python (python GruntPy.py) and then reply the CLI with the intended choices available. For Batch IP scanning: In case you have a list of a lot of IPs in a text file separated with a comma, that has no relation with eachother and not/or on same subnets, then you can feed GruntPy the file by supplying it as an argumement.

--> Example: python GruntPy.py textfile.txt <--

Now the program will skip the part where you normally feed IP and CIDRs and continue from what you want to do with the IPs. Basically same as before.

P.S: You are free to use it, change it, learn from it.etc. But, if you are planning to change and re upload it elsewhere or GitHub, Do not forget to mention the original author's name and link

Thank You ...

About

A basic grunt work project for new coming penetration testing students to learn about the in and outs of the first stage of hacking and networking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages