mirror of
https://github.com/Astatin3/Auto-Shodanner.git
synced 2026-06-08 16:18:09 -06:00
Add readme, make scanners filename format better.
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
data
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
|||||||
@@ -1,9 +1,15 @@
|
|||||||
# Polyboard
|
# Auto-Shodanner
|
||||||
|
(name in progress)
|
||||||
### A very dynamic dashboard, with many features
|
|
||||||
|
|
||||||
Polyboard is basically just a fancy dashboard template, but with a very extensible module system, and security features!
|
Shodan is expensive, IVRE is painful to set up, and there aren't really any other good alternitives. So why not make my own version that is good in those regards?
|
||||||
|
|
||||||
[Read the wiki!](https://github.com/Astatin3/Modulator/wiki)
|
Todo:
|
||||||
|
- Actually save data
|
||||||

|
- Scan settings page
|
||||||
|
- data on currently ongoing scan
|
||||||
|
- Result data Visualization
|
||||||
|
- Result data search page
|
||||||
|
- Implement many protocols.
|
||||||
|
- Performance optimizations
|
||||||
|
- Make scanning faster.
|
||||||
|
- Make into a Debian package?
|
||||||
+2
-4
@@ -32,7 +32,7 @@ for script in utils.listSubdirs(utils.getRoot("libs/scanners/")):
|
|||||||
|
|
||||||
def getScanner(port: int, protocol: str):
|
def getScanner(port: int, protocol: str):
|
||||||
for scanner in portScanners:
|
for scanner in portScanners:
|
||||||
if str(scanner.__name__) == f'{port}.{protocol}.py':
|
if str(scanner.__name__) == f'{protocol}{port}.py':
|
||||||
return scanner
|
return scanner
|
||||||
if protocol == "tcp":
|
if protocol == "tcp":
|
||||||
return tcpScanner
|
return tcpScanner
|
||||||
@@ -99,8 +99,6 @@ def processStarted():
|
|||||||
|
|
||||||
|
|
||||||
def parseNmapResult(result: str, address: str):
|
def parseNmapResult(result: str, address: str):
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
ports = scanutils.getPorts(result)
|
ports = scanutils.getPorts(result)
|
||||||
hostname = scanutils.getHostname(result)
|
hostname = scanutils.getHostname(result)
|
||||||
@@ -120,7 +118,7 @@ def parseNmapResult(result: str, address: str):
|
|||||||
resultstr += f'[{scanner.__name__}]\n'
|
resultstr += f'[{scanner.__name__}]\n'
|
||||||
resultstr += scanner.scan(address, portInt) + "\n"
|
resultstr += scanner.scan(address, portInt) + "\n"
|
||||||
|
|
||||||
# print(resultstr)
|
print(resultstr)
|
||||||
|
|
||||||
|
|
||||||
class ScanTask:
|
class ScanTask:
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import libs.scanners.tcp80
|
||||||
|
|
||||||
|
def scan(host:str, port:int):
|
||||||
|
return tcp80.scan(host, port)
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import libs.scanners.tcp80
|
||||||
|
|
||||||
|
def scan(host:str, port:int):
|
||||||
|
return tcp80.scan(host, port)
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import libs.scanners.tcp80
|
||||||
|
|
||||||
|
def scan(host:str, port:int):
|
||||||
|
return tcp80.scan(host, port)
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import libs.scanners.tcp80
|
||||||
|
|
||||||
|
def scan(host:str, port:int):
|
||||||
|
return tcp80.scan(host, port)
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import libs.scanners.tcp80
|
||||||
|
|
||||||
|
def scan(host:str, port:int):
|
||||||
|
return tcp80.scan(host, port)
|
||||||
@@ -27,7 +27,7 @@ def init(moduleMaster):
|
|||||||
|
|
||||||
mm.vars['Scanner-Settings'] = {
|
mm.vars['Scanner-Settings'] = {
|
||||||
"range": [[0,0,0,0], [255,255,255,255]],
|
"range": [[0,0,0,0], [255,255,255,255]],
|
||||||
"numJobs": 500,
|
"numJobs": 10,
|
||||||
"maxPingTimeout": 1,
|
"maxPingTimeout": 1,
|
||||||
|
|
||||||
# Port modes:
|
# Port modes:
|
||||||
@@ -38,7 +38,7 @@ def init(moduleMaster):
|
|||||||
|
|
||||||
"tcpSettings": {
|
"tcpSettings": {
|
||||||
"mode": 1,
|
"mode": 1,
|
||||||
"ports": [443]
|
"ports": [631]
|
||||||
# "topCount": 100
|
# "topCount": 100
|
||||||
# "relatedString": "http"
|
# "relatedString": "http"
|
||||||
},
|
},
|
||||||
|
|||||||
+1
-1
@@ -130,7 +130,7 @@ def err404(err):
|
|||||||
|
|
||||||
class webserv():
|
class webserv():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.title = 'Polyboard'
|
self.title = 'Auto-Shodanner'
|
||||||
self.port = 443
|
self.port = 443
|
||||||
self.host = '0.0.0.0'
|
self.host = '0.0.0.0'
|
||||||
self.verbose = False
|
self.verbose = False
|
||||||
|
|||||||
Reference in New Issue
Block a user