Enumeration¶
Here is documentation on enumeration.
PortScanner¶
You can initialize the class as so:
dos = DrSploitberg.enumeration.PortScanner()
This class can take in these arguments:
Arguments |
Description |
Type |
Default |
---|---|---|---|
ipAddress |
This is the IP Address of the target host. |
String |
127.0.0.1 |
timeout |
This is the length in seconds how long it takes to timeout. |
Float |
5.0 |
scanSingle¶
This function only takes in an argument called “port”.
portScanner.scanSingle(port=80)
scanCommon¶
This function does not take in any arguments. Simply just call this function to scan common ports.
portScanner.scanCommon()
scanRange¶
This function only takes in an argument called “portRange”.
Arguments |
Description |
Type |
Default |
---|---|---|---|
portRange |
This is the range of ports to scan |
Range |
range(65535) |