diff options
author | Aleksej Jocic <aleksej@spidermail.tk> | 2019-06-05 22:45:33 +0200 |
---|---|---|
committer | Aleksej Jocic <aleksej@spidermail.tk> | 2019-06-05 22:45:33 +0200 |
commit | 9a615bd32f13fcb7a89605f77ce851b39c2abb2f (patch) | |
tree | 7b2c0accad302a23e5c03db45786af1dfb5e049c | |
parent | e92875676ae3ca3614c915debf9d8b08bd892e21 (diff) |
better default values
-rwxr-xr-x | tmap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,12 +157,12 @@ def main(): parser.add_argument("--version", dest="version", help="print version information and exit", action="store_true") parser.add_argument("HOSTS", help="IP address or domain to scan", default="empty_host", nargs="?") parser.add_argument("-H", "--hosts", metavar="HOSTS", dest="tgtHost", help="IP address or domain to scan", default="empty_host_option") - parser.add_argument("-p", "--ports", metavar="PORTS", dest="tgtPort", help="ports to scan, seperated by a comma", default="20-25,53,80-85,443-445,8080,8333,9050,9150") + parser.add_argument("-p", "--ports", metavar="PORTS", dest="tgtPort", help="ports to scan, seperated by a comma", default="80,631,161,137,123,138,1434,445,135,67,23,53,443,21,139,22,500,68,520,1900,25,4500,514,49152,162,69,5353,111,49154,3389,110,1701,998,996,997,999,3283,49153,445,1812,136,139,143,53,2222,135,3306,2049,32768,5060,8080,1025,1433,3456,80,1723,111,995,993,20031,1026,7,5900,1646,1645,593,1025,518,2048,626,1027,587,177,1719,427,497,8888,4444,1023,65024,199,19,9,49193,1029,1720,49,465,88,1028,17185,1718,49186,548,113,81,6001,2000,10000,31337,9001,8333") parser.add_argument("-t", "--timeout", metavar="TIMEOUT", dest="sockTimeout", type=int, help="seconds to wait before connection timeout for each port", default=3) parser.add_argument("--clearnet", dest="clearnet", help="don't use Tor for scanning, connect directly instead", action="store_true") parser.add_argument("--banner", dest="banner", help="print data received from open ports", action="store_true") parser.add_argument("--torport", metavar="TORPORT", dest="torPort", type=int, help="port on which Tor is listening on", default="9050") - parser.add_argument("-j", "--jobs", metavar="JOBS", dest="jobs", type=int, help="maximum number of open connections at the same time", default="8") + parser.add_argument("-j", "--jobs", metavar="JOBS", dest="jobs", type=int, help="maximum number of open connections at the same time", default="10") parser.add_argument("--output", metavar="OUTFILE", dest="outFile", help="write scan results to output file", default="empty_outfile") args = parser.parse_args() |