This commit is contained in:
benji committed 2026-08-22 19:16:50 +02:00
1 parent 0dd0626782
commit 2ec2017511
8 files changed
+4 -193

No files matched your search

+4 -2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/python3
import socket
import subprocess
import os
@@ -17,7 +19,7 @@ import shutil
import re
from concurrent.futures import ThreadPoolExecutor, as_completed
SCANFOLDER=os.path.join(os.path.dirname(sys.argv[0]),"recons_scans")
KEYWORDS = [".txt", "pass", "creds", "user", ".dic", "hash", "<!--","admin"]
KEYWORDS = [".txt", "pass", "creds", "user", ".dic", "hash", "<!--","admin","THM"]
services=[]
CRITICS_PORTS=[21,1234,4444,9000,5000,88,139,445]
CRITICS_SERVICES=["kerberos","redis","microsoft-ds","ldap","netbios-ssn"]
@@ -79,7 +81,7 @@ if not len(wordlists) == 0:
wordlist = random.choice(list(set(wordlists)))
else:
print("no wordlist can be use, downloading dirbuster list !")
if not os.path.isfile(os.path.join(CONFIG_FOLDER, "dirbuster.txt")):
if os.path.isfile(os.path.join(CONFIG_FOLDER, "dirbuster.txt")):
with open(os.path.join(CONFIG_FOLDER, "dirbuster.txt"), "w") as f:
r = requests.get(
"https://raw.githubusercontent.com/brutalgg/dirbuster-wordlist/refs/heads/master/directory-list-2.3-small.txt",
@@ -1,9 +0,0 @@
Scanning 192.168.0.180
TCP OPEN PORTS:
22/TCP
111/TCP
2766/TCP
8006/TCP
UDP OPEN PORTS:
@@ -1 +0,0 @@
# Nmap 7.99 scan initiated Tue Aug 4 21:24:25 2026 as: nmap -A -T5 -oN scan_192.168.0.180.txt -p- --script http-title --script-args http.max-redirects=3 192.168.0.180
@@ -1,14 +0,0 @@
Scanning 192.168.0.218
TCP OPEN PORTS:
22/TCP
80/TCP
81/TCP
443/TCP
3000/TCP
3001/TCP
3500/TCP
4500/TCP
8000/TCP
UDP OPEN PORTS:
@@ -1,148 +0,0 @@
# Nmap 7.99 scan initiated Tue Aug 4 21:28:15 2026 as: nmap -A -T5 -oN scan_192.168.0.218.txt -p- --script http-title --script-args http.max-redirects=3 192.168.0.218
Warning: 192.168.0.218 giving up on port because retransmission cap hit (2).
Nmap scan report for docker.local (192.168.0.218)
Host is up (0.015s latency).
Not shown: 65500 closed tcp ports (conn-refused)
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 10.0p2 Debian 7+deb13u4 (protocol 2.0)
80/tcp open http OpenResty web app server
|_http-title: 404 Not Found
|_http-server-header: openresty
81/tcp open http OpenResty web app server
|_http-title: Nginx Proxy Manager
|_http-server-header: openresty
443/tcp open ssl/https openresty
|_http-server-header: openresty
|_http-title: 400 The plain HTTP request was sent to HTTPS port
1539/tcp filtered intellistor-lm
1887/tcp filtered filex-lport
3000/tcp open ppp?
| fingerprint-strings:
| DNSStatusRequestTCP, DNSVersionBindReqTCP, Kerberos, LANDesk-RC, LDAPBindReq, LDAPSearchReq, LPDString, NCP, RPCCheck, RTSPRequest, SMBProgNeg, SSLSessionReq, TLSSessionReq, TerminalServer, TerminalServerCookie, X11Probe:
| HTTP/1.1 505 HTTP Version Not Supported
| Connection: close
| FourOhFourRequest, GetRequest, HTTPOptions, SIPOptions:
| HTTP/1.1 400 Bad Request
|_ Connection: close
3001/tcp open ssl/http nginx
|_http-title: SpeedTest by OpenSpeedTest\xE2\x84\xA2
3500/tcp open http nginx
|_http-title: SpeedTest by OpenSpeedTest\xE2\x84\xA2
4000/tcp open http nginx
| http-title: Login - Speedtest Tracker ...
|_Requested resource was http://docker.local:4000/admin/login
4500/tcp open http nginx
|_http-title: Apprise API
7905/tcp filtered unknown
8000/tcp open nagios-nsca Nagios NSCA
|_http-title: Site doesn't have a title (text/plain; charset=utf-8).
9443/tcp open ssl/http Golang net/http server
| fingerprint-strings:
| GenericLines:
| HTTP/1.1 400 Bad Request
| Content-Type: text/plain; charset=utf-8
| Connection: close
| Request
| GetRequest, HTTPOptions:
| HTTP/1.0 200 OK
| Accept-Ranges: bytes
| Cache-Control: max-age=31536000
| Content-Length: 14202
| Content-Security-Policy: script-src 'self' https://js.hsforms.net https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/; object-src 'none'; frame-ancestors 'none'; frame-src https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/
| Content-Type: text/html; charset=utf-8
| Last-Modified: Thu, 25 Jun 2026 01:23:35 GMT
|_ Permissions-Policy: accelerometer=(),ambient-light-sensor=(),attribution-reporting=(),autoplay=(),battery=(),browsing-topics=(),camera=(),captured-surface-control=(),ch-device-memory=(),ch-downlink=(),ch-dpr=(),ch-ect=(),ch-prefers-color-scheme=(),ch-prefers-reduced-motion=(),ch-prefers-reduced-transparency=(),ch-rtt=(),ch-save-data=(),ch-ua=(),ch-ua-arch=(),ch-ua-bitness=(),ch-ua-form-factors=(),ch-ua-full-version=(),ch-ua-full-version-list=(),ch-ua-mobil
|_http-title: Portainer
12960/tcp filtered unknown
14775/tcp filtered unknown
15095/tcp filtered unknown
15404/tcp filtered unknown
15573/tcp filtered unknown
17346/tcp filtered unknown
29510/tcp filtered unknown
29729/tcp filtered unknown
30560/tcp filtered unknown
38032/tcp filtered unknown
38924/tcp filtered unknown
40616/tcp filtered unknown
43885/tcp filtered unknown
46070/tcp filtered unknown
46734/tcp filtered unknown
56764/tcp filtered unknown
57365/tcp filtered unknown
57422/tcp filtered unknown
61250/tcp filtered unknown
62572/tcp filtered unknown
65187/tcp filtered unknown
2 services unrecognized despite returning data. If you know the service/version, please submit the following fingerprints at https://nmap.org/cgi-bin/submit.cgi?new-service :
==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)==============
SF-Port3000-TCP:V=7.99%I=7%D=8/4%Time=6A723D61%P=x86_64-pc-linux-gnu%r(Get
SF:Request,2F,"HTTP/1\.1\x20400\x20Bad\x20Request\r\nConnection:\x20close\
SF:r\n\r\n")%r(NCP,3E,"HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20Suppo
SF:rted\r\nConnection:\x20close\r\n\r\n")%r(HTTPOptions,2F,"HTTP/1\.1\x204
SF:00\x20Bad\x20Request\r\nConnection:\x20close\r\n\r\n")%r(RTSPRequest,3E
SF:,"HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20Supported\r\nConnection
SF::\x20close\r\n\r\n")%r(RPCCheck,3E,"HTTP/1\.1\x20505\x20HTTP\x20Version
SF:\x20Not\x20Supported\r\nConnection:\x20close\r\n\r\n")%r(DNSVersionBind
SF:ReqTCP,3E,"HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20Supported\r\nC
SF:onnection:\x20close\r\n\r\n")%r(DNSStatusRequestTCP,3E,"HTTP/1\.1\x2050
SF:5\x20HTTP\x20Version\x20Not\x20Supported\r\nConnection:\x20close\r\n\r\
SF:n")%r(SSLSessionReq,3E,"HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20S
SF:upported\r\nConnection:\x20close\r\n\r\n")%r(TerminalServerCookie,3E,"H
SF:TTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20Supported\r\nConnection:\x
SF:20close\r\n\r\n")%r(TLSSessionReq,3E,"HTTP/1\.1\x20505\x20HTTP\x20Versi
SF:on\x20Not\x20Supported\r\nConnection:\x20close\r\n\r\n")%r(Kerberos,3E,
SF:"HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20Supported\r\nConnection:
SF:\x20close\r\n\r\n")%r(SMBProgNeg,3E,"HTTP/1\.1\x20505\x20HTTP\x20Versio
SF:n\x20Not\x20Supported\r\nConnection:\x20close\r\n\r\n")%r(X11Probe,3E,"
SF:HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20Supported\r\nConnection:\
SF:x20close\r\n\r\n")%r(FourOhFourRequest,2F,"HTTP/1\.1\x20400\x20Bad\x20R
SF:equest\r\nConnection:\x20close\r\n\r\n")%r(LPDString,3E,"HTTP/1\.1\x205
SF:05\x20HTTP\x20Version\x20Not\x20Supported\r\nConnection:\x20close\r\n\r
SF:\n")%r(LDAPSearchReq,3E,"HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20
SF:Supported\r\nConnection:\x20close\r\n\r\n")%r(LDAPBindReq,3E,"HTTP/1\.1
SF:\x20505\x20HTTP\x20Version\x20Not\x20Supported\r\nConnection:\x20close\
SF:r\n\r\n")%r(SIPOptions,2F,"HTTP/1\.1\x20400\x20Bad\x20Request\r\nConnec
SF:tion:\x20close\r\n\r\n")%r(LANDesk-RC,3E,"HTTP/1\.1\x20505\x20HTTP\x20V
SF:ersion\x20Not\x20Supported\r\nConnection:\x20close\r\n\r\n")%r(Terminal
SF:Server,3E,"HTTP/1\.1\x20505\x20HTTP\x20Version\x20Not\x20Supported\r\nC
SF:onnection:\x20close\r\n\r\n");
==============NEXT SERVICE FINGERPRINT (SUBMIT INDIVIDUALLY)==============
SF-Port9443-TCP:V=7.99%T=SSL%I=7%D=8/4%Time=6A723D64%P=x86_64-pc-linux-gnu
SF:%r(GetRequest,4034,"HTTP/1\.0\x20200\x20OK\r\nAccept-Ranges:\x20bytes\r
SF:\nCache-Control:\x20max-age=31536000\r\nContent-Length:\x2014202\r\nCon
SF:tent-Security-Policy:\x20script-src\x20'self'\x20https://js\.hsforms\.n
SF:et\x20https://www\.google\.com/recaptcha/\x20https://www\.gstatic\.com/
SF:recaptcha/;\x20object-src\x20'none';\x20frame-ancestors\x20'none';\x20f
SF:rame-src\x20https://www\.google\.com/recaptcha/\x20https://www\.gstatic
SF:\.com/recaptcha/\r\nContent-Type:\x20text/html;\x20charset=utf-8\r\nLas
SF:t-Modified:\x20Thu,\x2025\x20Jun\x202026\x2001:23:35\x20GMT\r\nPermissi
SF:ons-Policy:\x20accelerometer=\(\),ambient-light-sensor=\(\),attribution
SF:-reporting=\(\),autoplay=\(\),battery=\(\),browsing-topics=\(\),camera=
SF:\(\),captured-surface-control=\(\),ch-device-memory=\(\),ch-downlink=\(
SF:\),ch-dpr=\(\),ch-ect=\(\),ch-prefers-color-scheme=\(\),ch-prefers-redu
SF:ced-motion=\(\),ch-prefers-reduced-transparency=\(\),ch-rtt=\(\),ch-sav
SF:e-data=\(\),ch-ua=\(\),ch-ua-arch=\(\),ch-ua-bitness=\(\),ch-ua-form-fa
SF:ctors=\(\),ch-ua-full-version=\(\),ch-ua-full-version-list=\(\),ch-ua-m
SF:obil")%r(GenericLines,67,"HTTP/1\.1\x20400\x20Bad\x20Request\r\nContent
SF:-Type:\x20text/plain;\x20charset=utf-8\r\nConnection:\x20close\r\n\r\n4
SF:00\x20Bad\x20Request")%r(HTTPOptions,4034,"HTTP/1\.0\x20200\x20OK\r\nAc
SF:cept-Ranges:\x20bytes\r\nCache-Control:\x20max-age=31536000\r\nContent-
SF:Length:\x2014202\r\nContent-Security-Policy:\x20script-src\x20'self'\x2
SF:0https://js\.hsforms\.net\x20https://www\.google\.com/recaptcha/\x20htt
SF:ps://www\.gstatic\.com/recaptcha/;\x20object-src\x20'none';\x20frame-an
SF:cestors\x20'none';\x20frame-src\x20https://www\.google\.com/recaptcha/\
SF:x20https://www\.gstatic\.com/recaptcha/\r\nContent-Type:\x20text/html;\
SF:x20charset=utf-8\r\nLast-Modified:\x20Thu,\x2025\x20Jun\x202026\x2001:2
SF:3:35\x20GMT\r\nPermissions-Policy:\x20accelerometer=\(\),ambient-light-
SF:sensor=\(\),attribution-reporting=\(\),autoplay=\(\),battery=\(\),brows
SF:ing-topics=\(\),camera=\(\),captured-surface-control=\(\),ch-device-mem
SF:ory=\(\),ch-downlink=\(\),ch-dpr=\(\),ch-ect=\(\),ch-prefers-color-sche
SF:me=\(\),ch-prefers-reduced-motion=\(\),ch-prefers-reduced-transparency=
SF:\(\),ch-rtt=\(\),ch-save-data=\(\),ch-ua=\(\),ch-ua-arch=\(\),ch-ua-bit
SF:ness=\(\),ch-ua-form-factors=\(\),ch-ua-full-version=\(\),ch-ua-full-ve
SF:rsion-list=\(\),ch-ua-mobil");
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Tue Aug 4 21:28:57 2026 -- 1 IP address (1 host up) scanned in 41.40 seconds
@@ -1 +0,0 @@
# Nmap 7.95 scan initiated Thu Aug 20 14:43:10 2026 as: nmap -A -T5 -oN scan_192.168.0.253.txt -p 22,80,139,443,445,5357,9001,30013,30014,30024,30025,30041,30050,30113,30145,30357,51413 --script http-title --script-args http.max-redirects=3 192.168.0.253
@@ -1,7 +0,0 @@
Scanning 142.251.142.14
TCP OPEN PORTS:
80/TCP
443/TCP
UDP OPEN PORTS:
@@ -1,11 +0,0 @@
# Nmap 7.99 scan initiated Tue Aug 4 21:26:40 2026 as: nmap -A -T5 -oN scan_google.com.txt -p- --script http-title --script-args http.max-redirects=3 google.com
Nmap scan report for google.com (142.251.209.142)
Host is up (0.054s latency).
Other addresses for google.com (not scanned): 2a00:1450:4007:811::200e
rDNS record for 142.251.209.142: pnpara-ah-in-f14.1e100.net
Not shown: 51151 filtered tcp ports (no-response), 14383 filtered tcp ports (host-unreach)
PORT STATE SERVICE VERSION
443/tcp open tcpwrapped
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Tue Aug 4 21:27:10 2026 -- 1 IP address (1 host up) scanned in 29.59 seconds