Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # probe - Default Port Scanner
- # Scans ALL ports. Thorough but very slow.
- #
- # @param target "Target IP address"
- # scan target for known ports
- # then scan for unknown ports
- # press q to end gracefully
- log("Probe 2.0 - Enhanced Port Scanner")
- var update = false
- var target = get_param("target")
- var found = 0
- var path = "/home/" + whoami() + "/"
- var folder = "targets/"
- var filename = "known_ports.txt"
- var saved_ports = read_local(path + folder + filename).trim()
- var known_ports = [80]
- if saved_ports != "":
- known_ports = []
- for s in saved_ports.split(","):
- known_ports.append(int(s.trim()))
- log("")
- log("Scanning [color=\'cyan\']" + target + "[/color] for known ports...")
- for port in known_ports:
- var result = scan(target, port)
- if result.open:
- found += 1
- log("Port [color=\'cyan\']" + port + "[/color] open: " + result.service + " (" + result.version + ")")
- log("Banner: " + result.banner + " (" + round(result.response_time * 1000) + " ms)")
- log("")
- log("Scanning [color=\'cyan\']" + target + "[/color] for unknown ports...")
- for port in range(1, 65536):
- if not known_ports.contains(port):
- var result = scan(target, port)
- if result.open:
- known_ports.append(port)
- update = true
- found += 1
- log("Port [color=\'cyan\']" + port + "[/color] open: " + result.service + " (" + result.version + ")")
- log("Banner: " + result.banner + " (" + round(result.response_time * 1000) + " ms)")
- if port % 1000 == 0:
- log("Scanning... " + port + "/65535")
- log("")
- log("Scan complete. Found [color=\'cyan\']" + found + "[/color] open ports.")
- if update:
- output = ""
- for n in known_ports:
- if output != "":
- output = output + ", " + str(n)
- else:
- output = str(n)
- var status = save(path + folder + filename, output)
- if status.success:
- log("Known ports updated: " + status.path)
- else:
- log("[color=\'red\']ERROR: " + status.error + "[/color]")
Advertisement
Comments
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=qavxxxjhkv
- This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
-
- ⭐ Changelly Profit Exploit Documentation ⭐
- https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=efvqwwhmtz
- This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
- The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
- Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment