old htb folders
This commit is contained in:
2023-08-29 21:53:22 +02:00
parent 62ab804867
commit 82b0759f1e
21891 changed files with 6277643 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[*] ssh found on tcp/22.
[*] http found on tcp/80.
[*] ssh found on tcp/22.
[*] http found on tcp/80.

View File

@@ -0,0 +1,55 @@
```bash
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_quick_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_quick_tcp_nmap.xml" 10.10.11.196
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -p- -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_full_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_full_tcp_nmap.xml" 10.10.11.196
nmap -vv --reason -Pn -T4 -sV -p 22 --script="banner,ssh2-enum-algos,ssh-hostkey,ssh-auth-methods" -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/xml/tcp_22_ssh_nmap.xml" 10.10.11.196
feroxbuster -u http://10.10.11.196:80/ -t 10 -w /home/kali/.local/share/AutoRecon/wordlists/dirbuster.txt -x "txt,html,php,asp,aspx,jsp" -v -k -n -q -e -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_feroxbuster_dirbuster.txt"
curl -sSikf http://10.10.11.196:80/.well-known/security.txt
curl -sSikf http://10.10.11.196:80/robots.txt
curl -sSik http://10.10.11.196:80/
nmap -vv --reason -Pn -T4 -sV -p 80 --script="banner,(http* or ssl*) and not (brute or broadcast or dos or external or http-slowloris* or fuzzer)" -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/xml/tcp_80_http_nmap.xml" 10.10.11.196
curl -sk -o /dev/null -H "Host: YvEmonXbXmondNLCkxYT.stocker.htb" http://stocker.htb:80/ -w "%{size_download}"
whatweb --color=never --no-errors -a 3 -v http://10.10.11.196:80 2>&1
wkhtmltoimage --format png http://10.10.11.196:80/ /home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_screenshot.png
ffuf -u http://stocker.htb:80/ -t 10 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -H "Host: FUZZ.stocker.htb" -fs 178 -noninteractive -s | tee "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_stocker.htb_vhosts_subdomains-top1million-110000.txt"
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_quick_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_quick_tcp_nmap.xml" 10.10.11.196
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -p- -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_full_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_full_tcp_nmap.xml" 10.10.11.196
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_quick_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_quick_tcp_nmap.xml" 10.10.11.196
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -p- -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_full_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_full_tcp_nmap.xml" 10.10.11.196
nmap -vv --reason -Pn -T4 -sV -p 22 --script="banner,ssh2-enum-algos,ssh-hostkey,ssh-auth-methods" -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/xml/tcp_22_ssh_nmap.xml" 10.10.11.196
feroxbuster -u http://10.10.11.196:80/ -t 50 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x "txt,html,php,asp,aspx,jsp" -v -k -q -e -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_feroxbuster_directory-list-2.3-medium.txt"
curl -sSikf http://10.10.11.196:80/.well-known/security.txt
curl -sSikf http://10.10.11.196:80/robots.txt
curl -sSik http://10.10.11.196:80/
nmap -vv --reason -Pn -T4 -sV -p 80 --script="banner,(http* or ssl*) and not (brute or broadcast or dos or external or http-slowloris* or fuzzer)" -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/xml/tcp_80_http_nmap.xml" 10.10.11.196
curl -sk -o /dev/null -H "Host: hfizklRLrZtXqKCguYvy.stocker.htb" http://stocker.htb:80/ -w "%{size_download}"
whatweb --color=never --no-errors -a 3 -v http://10.10.11.196:80 2>&1
wkhtmltoimage --format png http://10.10.11.196:80/ /home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_screenshot.png
ffuf -u http://stocker.htb:80/ -t 10 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -H "Host: FUZZ.stocker.htb" -fs 178 -noninteractive -s | tee "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_stocker.htb_vhosts_subdomains-top1million-110000.txt"
```

View File

@@ -0,0 +1,67 @@
```bash
[*] ssh on tcp/22
[-] Bruteforce logins:
hydra -L "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e nsr -s 22 -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_hydra.txt" ssh://10.10.11.196
medusa -U "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e ns -n 22 -O "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_medusa.txt" -M ssh -h 10.10.11.196
[*] http on tcp/80
[-] (feroxbuster) Multi-threaded recursive directory/file enumeration for web servers using various wordlists:
feroxbuster -u http://10.10.11.196:80 -t 10 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x "txt,html,php,asp,aspx,jsp" -v -k -n -e -o /home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_feroxbuster_dirbuster.txt
[-] Credential bruteforcing commands (don't run these without modifying them):
hydra -L "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e nsr -s 80 -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_auth_hydra.txt" http-get://10.10.11.196/path/to/auth/area
medusa -U "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e ns -n 80 -O "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_auth_medusa.txt" -M http -h 10.10.11.196 -m DIR:/path/to/auth/area
hydra -L "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e nsr -s 80 -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_form_hydra.txt" http-post-form://10.10.11.196/path/to/login.php:"username=^USER^&password=^PASS^":"invalid-login-message"
medusa -U "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e ns -n 80 -O "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_form_medusa.txt" -M web-form -h 10.10.11.196 -m FORM:/path/to/login.php -m FORM-DATA:"post?username=&password=" -m DENY-SIGNAL:"invalid login message"
[-] (nikto) old but generally reliable web server enumeration tool:
nikto -ask=no -h http://10.10.11.196:80 2>&1 | tee "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nikto.txt"
[-] (wpscan) WordPress Security Scanner (useful if WordPress is found):
wpscan --url http://10.10.11.196:80/ --no-update -e vp,vt,tt,cb,dbe,u,m --plugins-detection aggressive --plugins-version-detection aggressive -f cli-no-color 2>&1 | tee "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_wpscan.txt"
[*] ssh on tcp/22
[-] Bruteforce logins:
hydra -L "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e nsr -s 22 -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_hydra.txt" ssh://10.10.11.196
medusa -U "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e ns -n 22 -O "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_medusa.txt" -M ssh -h 10.10.11.196
[*] http on tcp/80
[-] (feroxbuster) Multi-threaded recursive directory/file enumeration for web servers using various wordlists:
feroxbuster -u http://10.10.11.196:80 -t 50 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x "txt,html,php,asp,aspx,jsp" -v -k -e -o /home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_feroxbuster_dirbuster.txt
[-] Credential bruteforcing commands (don't run these without modifying them):
hydra -L "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e nsr -s 80 -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_auth_hydra.txt" http-get://10.10.11.196/path/to/auth/area
medusa -U "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e ns -n 80 -O "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_auth_medusa.txt" -M http -h 10.10.11.196 -m DIR:/path/to/auth/area
hydra -L "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e nsr -s 80 -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_form_hydra.txt" http-post-form://10.10.11.196/path/to/login.php:"username=^USER^&password=^PASS^":"invalid-login-message"
medusa -U "/usr/share/seclists/Usernames/top-usernames-shortlist.txt" -P "/usr/share/seclists/Passwords/darkweb2017-top100.txt" -e ns -n 80 -O "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_form_medusa.txt" -M web-form -h 10.10.11.196 -m FORM:/path/to/login.php -m FORM-DATA:"post?username=&password=" -m DENY-SIGNAL:"invalid login message"
[-] (nikto) old but generally reliable web server enumeration tool:
nikto -ask=no -h http://10.10.11.196:80 2>&1 | tee "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nikto.txt"
[-] (wpscan) WordPress Security Scanner (useful if WordPress is found):
wpscan --url http://10.10.11.196:80/ --no-update -e vp,vt,tt,cb,dbe,u,m --plugins-detection aggressive --plugins-version-detection aggressive -f cli-no-color 2>&1 | tee "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_wpscan.txt"
```

View File

@@ -0,0 +1,16 @@
Identified HTTP Server: nginx/1.18.0 (Ubuntu)
Nmap script found a potential vulnerability. (State: VULNERABLE)
CVE Identified: CVE-2011-3192
CVE Identified: CVE-2011-3192
Identified HTTP Server: nginx/1.18.0 (Ubuntu)
Nmap script found a potential vulnerability. (State: VULNERABLE)
CVE Identified: CVE-2011-3192
CVE Identified: CVE-2011-3192

View File

@@ -0,0 +1,35 @@
```bash
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -p- -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_full_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_full_tcp_nmap.xml" 10.10.11.196
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/_full_tcp_nmap.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/_full_tcp_nmap.txt):
```
# Nmap 7.93 scan initiated Tue Jan 24 10:10:11 2023 as: nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -p- -oN /home/kali/htb/stocker/results/10.10.11.196/scans/_full_tcp_nmap.txt -oX /home/kali/htb/stocker/results/10.10.11.196/scans/xml/_full_tcp_nmap.xml 10.10.11.196
Nmap scan report for stocker.htb (10.10.11.196)
Host is up, received user-set (0.057s latency).
Scanned at 2023-01-24 10:10:12 EST for 30s
Not shown: 65533 closed tcp ports (conn-refused)
PORT STATE SERVICE REASON VERSION
22/tcp open ssh syn-ack OpenSSH 8.2p1 Ubuntu 4ubuntu0.5 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 3072 3d12971d86bc161683608f4f06e6d54e (RSA)
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC/Jyuj3D7FuZQdudxWlH081Q6WkdTVz6G05mFSFpBpycfOrwuJpQ6oJV1I4J6UeXg+o5xHSm+ANLhYEI6T/JMnYSyEmVq/QVactDs9ixhi+j0R0rUrYYgteX7XuOT2g4ivyp1zKQP1uKYF2lGVnrcvX4a6ds4FS8mkM2o74qeZj6XfUiCYdPSVJmFjX/TgTzXYHt7kHj0vLtMG63sxXQDVLC5NwLs3VE61qD4KmhCfu+9viOBvA1ZID4Bmw8vgi0b5FfQASbtkylpRxdOEyUxGZ1dbcJzT+wGEhalvlQl9CirZLPMBn4YMC86okK/Kc0Wv+X/lC+4UehL//U3MkD9XF3yTmq+UVF/qJTrs9Y15lUOu3bJ9kpP9VDbA6NNGi1HdLyO4CbtifsWblmmoRWIr+U8B2wP/D9whWGwRJPBBwTJWZvxvZz3llRQhq/8Np0374iHWIEG+k9U9Am6rFKBgGlPUcf6Mg7w4AFLiFEQaQFRpEbf+xtS1YMLLqpg3qB0=
| 256 7c4d1a7868ce1200df491037f9ad174f (ECDSA)
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNgPXCNqX65/kNxcEEVPqpV7du+KsPJokAydK/wx1GqHpuUm3lLjMuLOnGFInSYGKlCK1MLtoCX6DjVwx6nWZ5w=
| 256 dd978050a5bacd7d55e827ed28fdaa3b (ED25519)
|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDyp1s8jG+rEbfeqAQbCqJw5+Y+T17PRzOcYd+W32hF
80/tcp open http syn-ack nginx 1.18.0 (Ubuntu)
|_http-title: Stock - Coming Soon!
|_http-generator: Eleventy v2.0.0
|_http-favicon: Unknown favicon MD5: 4EB67963EC58BC699F15F80BBE1D91CC
| http-methods:
|_ Supported Methods: GET HEAD
|_http-server-header: nginx/1.18.0 (Ubuntu)
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Tue Jan 24 10:10:42 2023 -- 1 IP address (1 host up) scanned in 31.02 seconds
```

View File

@@ -0,0 +1,35 @@
```bash
nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/_quick_tcp_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/xml/_quick_tcp_nmap.xml" 10.10.11.196
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/_quick_tcp_nmap.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/_quick_tcp_nmap.txt):
```
# Nmap 7.93 scan initiated Tue Jan 24 10:10:11 2023 as: nmap -vv --reason -Pn -T4 -sV -sC --version-all -A --osscan-guess -oN /home/kali/htb/stocker/results/10.10.11.196/scans/_quick_tcp_nmap.txt -oX /home/kali/htb/stocker/results/10.10.11.196/scans/xml/_quick_tcp_nmap.xml 10.10.11.196
Nmap scan report for stocker.htb (10.10.11.196)
Host is up, received user-set (0.038s latency).
Scanned at 2023-01-24 10:10:12 EST for 8s
Not shown: 998 closed tcp ports (conn-refused)
PORT STATE SERVICE REASON VERSION
22/tcp open ssh syn-ack OpenSSH 8.2p1 Ubuntu 4ubuntu0.5 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 3072 3d12971d86bc161683608f4f06e6d54e (RSA)
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC/Jyuj3D7FuZQdudxWlH081Q6WkdTVz6G05mFSFpBpycfOrwuJpQ6oJV1I4J6UeXg+o5xHSm+ANLhYEI6T/JMnYSyEmVq/QVactDs9ixhi+j0R0rUrYYgteX7XuOT2g4ivyp1zKQP1uKYF2lGVnrcvX4a6ds4FS8mkM2o74qeZj6XfUiCYdPSVJmFjX/TgTzXYHt7kHj0vLtMG63sxXQDVLC5NwLs3VE61qD4KmhCfu+9viOBvA1ZID4Bmw8vgi0b5FfQASbtkylpRxdOEyUxGZ1dbcJzT+wGEhalvlQl9CirZLPMBn4YMC86okK/Kc0Wv+X/lC+4UehL//U3MkD9XF3yTmq+UVF/qJTrs9Y15lUOu3bJ9kpP9VDbA6NNGi1HdLyO4CbtifsWblmmoRWIr+U8B2wP/D9whWGwRJPBBwTJWZvxvZz3llRQhq/8Np0374iHWIEG+k9U9Am6rFKBgGlPUcf6Mg7w4AFLiFEQaQFRpEbf+xtS1YMLLqpg3qB0=
| 256 7c4d1a7868ce1200df491037f9ad174f (ECDSA)
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNgPXCNqX65/kNxcEEVPqpV7du+KsPJokAydK/wx1GqHpuUm3lLjMuLOnGFInSYGKlCK1MLtoCX6DjVwx6nWZ5w=
| 256 dd978050a5bacd7d55e827ed28fdaa3b (ED25519)
|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDyp1s8jG+rEbfeqAQbCqJw5+Y+T17PRzOcYd+W32hF
80/tcp open http syn-ack nginx 1.18.0 (Ubuntu)
|_http-server-header: nginx/1.18.0 (Ubuntu)
|_http-favicon: Unknown favicon MD5: 4EB67963EC58BC699F15F80BBE1D91CC
|_http-title: Stock - Coming Soon!
| http-methods:
|_ Supported Methods: GET HEAD
|_http-generator: Eleventy v2.0.0
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Tue Jan 24 10:10:20 2023 -- 1 IP address (1 host up) scanned in 8.80 seconds
```

View File

@@ -0,0 +1,71 @@
```bash
nmap -vv --reason -Pn -T4 -sV -p 22 --script="banner,ssh2-enum-algos,ssh-hostkey,ssh-auth-methods" -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/xml/tcp_22_ssh_nmap.xml" 10.10.11.196
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_nmap.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_nmap.txt):
```
# Nmap 7.93 scan initiated Tue Jan 24 10:10:20 2023 as: nmap -vv --reason -Pn -T4 -sV -p 22 --script=banner,ssh2-enum-algos,ssh-hostkey,ssh-auth-methods -oN /home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/tcp_22_ssh_nmap.txt -oX /home/kali/htb/stocker/results/10.10.11.196/scans/tcp22/xml/tcp_22_ssh_nmap.xml 10.10.11.196
Nmap scan report for stocker.htb (10.10.11.196)
Host is up, received user-set (0.079s latency).
Scanned at 2023-01-24 10:10:21 EST for 2s
PORT STATE SERVICE REASON VERSION
22/tcp open ssh syn-ack OpenSSH 8.2p1 Ubuntu 4ubuntu0.5 (Ubuntu Linux; protocol 2.0)
| ssh-auth-methods:
| Supported authentication methods:
| publickey
|_ password
|_banner: SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.5
| ssh2-enum-algos:
| kex_algorithms: (9)
| curve25519-sha256
| curve25519-sha256@libssh.org
| ecdh-sha2-nistp256
| ecdh-sha2-nistp384
| ecdh-sha2-nistp521
| diffie-hellman-group-exchange-sha256
| diffie-hellman-group16-sha512
| diffie-hellman-group18-sha512
| diffie-hellman-group14-sha256
| server_host_key_algorithms: (5)
| rsa-sha2-512
| rsa-sha2-256
| ssh-rsa
| ecdsa-sha2-nistp256
| ssh-ed25519
| encryption_algorithms: (6)
| chacha20-poly1305@openssh.com
| aes128-ctr
| aes192-ctr
| aes256-ctr
| aes128-gcm@openssh.com
| aes256-gcm@openssh.com
| mac_algorithms: (10)
| umac-64-etm@openssh.com
| umac-128-etm@openssh.com
| hmac-sha2-256-etm@openssh.com
| hmac-sha2-512-etm@openssh.com
| hmac-sha1-etm@openssh.com
| umac-64@openssh.com
| umac-128@openssh.com
| hmac-sha2-256
| hmac-sha2-512
| hmac-sha1
| compression_algorithms: (2)
| none
|_ zlib@openssh.com
| ssh-hostkey:
| 3072 3d12971d86bc161683608f4f06e6d54e (RSA)
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC/Jyuj3D7FuZQdudxWlH081Q6WkdTVz6G05mFSFpBpycfOrwuJpQ6oJV1I4J6UeXg+o5xHSm+ANLhYEI6T/JMnYSyEmVq/QVactDs9ixhi+j0R0rUrYYgteX7XuOT2g4ivyp1zKQP1uKYF2lGVnrcvX4a6ds4FS8mkM2o74qeZj6XfUiCYdPSVJmFjX/TgTzXYHt7kHj0vLtMG63sxXQDVLC5NwLs3VE61qD4KmhCfu+9viOBvA1ZID4Bmw8vgi0b5FfQASbtkylpRxdOEyUxGZ1dbcJzT+wGEhalvlQl9CirZLPMBn4YMC86okK/Kc0Wv+X/lC+4UehL//U3MkD9XF3yTmq+UVF/qJTrs9Y15lUOu3bJ9kpP9VDbA6NNGi1HdLyO4CbtifsWblmmoRWIr+U8B2wP/D9whWGwRJPBBwTJWZvxvZz3llRQhq/8Np0374iHWIEG+k9U9Am6rFKBgGlPUcf6Mg7w4AFLiFEQaQFRpEbf+xtS1YMLLqpg3qB0=
| 256 7c4d1a7868ce1200df491037f9ad174f (ECDSA)
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNgPXCNqX65/kNxcEEVPqpV7du+KsPJokAydK/wx1GqHpuUm3lLjMuLOnGFInSYGKlCK1MLtoCX6DjVwx6nWZ5w=
| 256 dd978050a5bacd7d55e827ed28fdaa3b (ED25519)
|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIDyp1s8jG+rEbfeqAQbCqJw5+Y+T17PRzOcYd+W32hF
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Tue Jan 24 10:10:23 2023 -- 1 IP address (1 host up) scanned in 2.96 seconds
```

View File

@@ -0,0 +1,23 @@
```bash
curl -sSikf http://10.10.11.196:80/robots.txt
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_curl-robots.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_curl-robots.txt):
```
HTTP/1.1 301 Moved Permanently
Server: nginx/1.18.0 (Ubuntu)
Date: Tue, 24 Jan 2023 15:10:21 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: http://stocker.htb
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
```

View File

@@ -0,0 +1,24 @@
```bash
curl -sSik http://10.10.11.196:80/
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_curl.html](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_curl.html):
```
HTTP/1.1 301 Moved Permanently
Server: nginx/1.18.0 (Ubuntu)
Date: Tue, 24 Jan 2023 15:10:21 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: http://stocker.htb
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
```

View File

@@ -0,0 +1,11 @@
```bash
feroxbuster -u http://10.10.11.196:80/ -t 50 -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x "txt,html,php,asp,aspx,jsp" -v -k -q -e -o "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_feroxbuster_directory-list-2.3-medium.txt"
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_feroxbuster_directory-list-2.3-medium.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_feroxbuster_directory-list-2.3-medium.txt):
```
WLD GET 7l 12w 178c Got 301 for http://10.10.11.196/a4e98c894cac478782a5eacd36b3e7ec (url length: 32)
WLD - - - http://10.10.11.196/a4e98c894cac478782a5eacd36b3e7ec => http://stocker.htb
```

View File

@@ -0,0 +1,23 @@
```bash
curl -sSikf http://10.10.11.196:80/.well-known/security.txt
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_known-security.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_known-security.txt):
```
HTTP/1.1 301 Moved Permanently
Server: nginx/1.18.0 (Ubuntu)
Date: Tue, 24 Jan 2023 15:10:21 GMT
Content-Type: text/html
Content-Length: 178
Connection: keep-alive
Location: http://stocker.htb
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
```

View File

@@ -0,0 +1,157 @@
```bash
nmap -vv --reason -Pn -T4 -sV -p 80 --script="banner,(http* or ssl*) and not (brute or broadcast or dos or external or http-slowloris* or fuzzer)" -oN "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nmap.txt" -oX "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/xml/tcp_80_http_nmap.xml" 10.10.11.196
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nmap.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nmap.txt):
```
# Nmap 7.93 scan initiated Tue Jan 24 10:10:21 2023 as: nmap -vv --reason -Pn -T4 -sV -p 80 "--script=banner,(http* or ssl*) and not (brute or broadcast or dos or external or http-slowloris* or fuzzer)" -oN /home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_nmap.txt -oX /home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/xml/tcp_80_http_nmap.xml 10.10.11.196
Nmap scan report for stocker.htb (10.10.11.196)
Host is up, received user-set (0.068s latency).
Scanned at 2023-01-24 10:10:21 EST for 116s
Bug in http-security-headers: no string output.
PORT STATE SERVICE REASON VERSION
80/tcp open http syn-ack nginx 1.18.0 (Ubuntu)
| http-vhosts:
|_128 names had status 301
| http-comments-displayer:
| Spidering limited to: maxdepth=3; maxpagecount=20; withinhost=stocker.htb
|
| Path: http://stocker.htb:80/js/bootstrap.bundle.min.js
| Line number: 1
| Comment:
| /*!
| * Bootstrap v5.2.0-beta1 (https://getbootstrap.com/)
| * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
| * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
| */
|
| Path: http://stocker.htb:80/css/theme.min.css
| Line number: 1
| Comment:
| /*!
| * Bootstrap v5.2.0-beta1 (https://getbootstrap.com/)
| * Copyright 2011-2022 The Bootstrap Authors
| * Copyright 2011-2022 Twitter, Inc.
| * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
| */
|
| Path: http://stocker.htb:80/
| Line number: 26
| Comment:
| /* Chrome 26+, Opera 23+, Firefox 39+ */
|
| Path: http://stocker.htb:80/
| Line number: 26
| Comment:
| /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
| Path: http://stocker.htb:80/
| Line number: 296
| Comment:
| // values from 0 to 3000, with step 50ms
|
| Path: http://stocker.htb:80/
| Line number: 17
| Comment:
| <!-- https://onepagelove.com/stride -->
|
| Path: http://stocker.htb:80/
| Line number: 19
| Comment:
|_ /* inter-300 - latin */
|_http-csrf: Couldn't find any CSRF vulnerabilities.
|_http-generator: Eleventy v2.0.0
| http-headers:
| Server: nginx/1.18.0 (Ubuntu)
| Date: Tue, 24 Jan 2023 15:10:32 GMT
| Content-Type: text/html
| Content-Length: 15463
| Last-Modified: Wed, 21 Dec 2022 18:31:13 GMT
| Connection: close
| ETag: "63a350f1-3c67"
| Accept-Ranges: bytes
|
|_ (Request type: HEAD)
|_http-devframework: Couldn't determine the underlying framework or CMS. Try increasing 'httpspider.maxpagecount' value to spider more pages.
| http-sitemap-generator:
| Directory structure:
| /
| Other: 1
| /css/
| css: 1
| /img/
| png: 4
| /img/webp/
| webp: 5
| /js/
| js: 2
| Longest directory structure:
| Depth: 2
| Dir: /img/webp/
| Total files found (by extension):
|_ Other: 1; css: 1; js: 2; png: 4; webp: 5
| http-php-version: Logo query returned unknown hash 7ba217d3a2cde23c0377fb7815791eae
|_Credits query returned unknown hash 7ba217d3a2cde23c0377fb7815791eae
|_http-date: Tue, 24 Jan 2023 15:10:28 GMT; 0s from local time.
|_http-fetch: Please enter the complete path of the directory to save data in.
|_http-chrono: Request times for /; avg: 274.24ms; min: 207.28ms; max: 338.16ms
|_http-stored-xss: Couldn't find any stored XSS vulnerabilities.
|_http-litespeed-sourcecode-download: Request with null byte did not work. This web server might not be vulnerable
| http-useragent-tester:
| Status for browser useragent: 200
| Allowed User Agents:
| Mozilla/5.0 (compatible; Nmap Scripting Engine; https://nmap.org/book/nse.html)
| libwww
| lwp-trivial
| libcurl-agent/1.0
| PHP/
| Python-urllib/2.5
| GT::WWW
| Snoopy
| MFC_Tear_Sample
| HTTP::Lite
| PHPCrawl
| URI::Fetch
| Zend_Http_Client
| http client
| PECL::HTTP
| Wget/1.13.4 (linux-gnu)
|_ WWW-Mechanize/1.34
|_http-referer-checker: Couldn't find any cross-domain scripts.
|_http-jsonp-detection: Couldn't find any JSONP endpoints.
|_http-server-header: nginx/1.18.0 (Ubuntu)
|_http-malware-host: Host appears to be clean
|_http-wordpress-users: [Error] Wordpress installation was not found. We couldn't find wp-login.php
|_http-drupal-enum: Nothing found amongst the top 100 resources,use --script-args number=<number|all> for deeper analysis)
|_http-dombased-xss: Couldn't find any DOM based XSS.
|_http-title: Stock - Coming Soon!
|_http-errors: Couldn't find any error pages.
| http-vuln-cve2011-3192:
| VULNERABLE:
| Apache byterange filter DoS
| State: VULNERABLE
| IDs: CVE:CVE-2011-3192 BID:49303
| The Apache web server is vulnerable to a denial of service attack when numerous
| overlapping byte ranges are requested.
| Disclosure date: 2011-08-19
| References:
| https://www.tenable.com/plugins/nessus/55976
| https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3192
| https://seclists.org/fulldisclosure/2011/Aug/175
|_ https://www.securityfocus.com/bid/49303
|_http-wordpress-enum: Nothing found amongst the top 100 resources,use --script-args search-limit=<number|all> for deeper analysis)
|_http-mobileversion-checker: No mobile version detected.
| http-methods:
|_ Supported Methods: GET HEAD
|_http-favicon: Unknown favicon MD5: 4EB67963EC58BC699F15F80BBE1D91CC
|_http-config-backup: ERROR: Script execution failed (use -d to debug)
|_http-feed: Couldn't find any feeds.
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Tue Jan 24 10:12:17 2023 -- 1 IP address (1 host up) scanned in 116.95 seconds
```

View File

@@ -0,0 +1,12 @@
```bash
curl -sk -o /dev/null -H "Host: hfizklRLrZtXqKCguYvy.stocker.htb" http://stocker.htb:80/ -w "%{size_download}"
``````bash
ffuf -u http://stocker.htb:80/ -t 10 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -H "Host: FUZZ.stocker.htb" -fs 178 -noninteractive -s | tee "/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_stocker.htb_vhosts_subdomains-top1million-110000.txt"
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_stocker.htb_vhosts_subdomains-top1million-110000.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_stocker.htb_vhosts_subdomains-top1million-110000.txt):
```
dev
```

View File

@@ -0,0 +1,117 @@
```bash
whatweb --color=never --no-errors -a 3 -v http://10.10.11.196:80 2>&1
```
[/home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_whatweb.txt](file:///home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_whatweb.txt):
```
WhatWeb report for http://10.10.11.196:80
Status : 301 Moved Permanently
Title : 301 Moved Permanently
IP : 10.10.11.196
Country : RESERVED, ZZ
Summary : HTTPServer[Ubuntu Linux][nginx/1.18.0 (Ubuntu)], nginx[1.18.0], RedirectLocation[http://stocker.htb]
Detected Plugins:
[ HTTPServer ]
HTTP server header string. This plugin also attempts to
identify the operating system from the server header.
OS : Ubuntu Linux
String : nginx/1.18.0 (Ubuntu) (from server string)
[ RedirectLocation ]
HTTP Server string location. used with http-status 301 and
302
String : http://stocker.htb (from location)
[ nginx ]
Nginx (Engine-X) is a free, open-source, high-performance
HTTP server and reverse proxy, as well as an IMAP/POP3
proxy server.
Version : 1.18.0
Website : http://nginx.net/
HTTP Headers:
HTTP/1.1 301 Moved Permanently
Server: nginx/1.18.0 (Ubuntu)
Date: Tue, 24 Jan 2023 15:10:23 GMT
Content-Type: text/html
Content-Length: 178
Connection: close
Location: http://stocker.htb
WhatWeb report for http://stocker.htb
Status : 200 OK
Title : Stock - Coming Soon!
IP : 10.10.11.196
Country : RESERVED, ZZ
Summary : Bootstrap[5.2.0], HTML5, HTTPServer[Ubuntu Linux][nginx/1.18.0 (Ubuntu)], Meta-Author[Holger Koenemann], MetaGenerator[Eleventy v2.0.0], nginx[1.18.0], Script
Detected Plugins:
[ Bootstrap ]
Bootstrap is an open source toolkit for developing with
HTML, CSS, and JS.
Version : 5.2.0
Version : 5.2.0
Version : 5.2.0
Version : 5.2.0
Website : https://getbootstrap.com/
[ HTML5 ]
HTML version 5, detected by the doctype declaration
[ HTTPServer ]
HTTP server header string. This plugin also attempts to
identify the operating system from the server header.
OS : Ubuntu Linux
String : nginx/1.18.0 (Ubuntu) (from server string)
[ Meta-Author ]
This plugin retrieves the author name from the meta name
tag - info:
http://www.webmarketingnow.com/tips/meta-tags-uncovered.html
#author
String : Holger Koenemann
[ MetaGenerator ]
This plugin identifies meta generator tags and extracts its
value.
String : Eleventy v2.0.0
[ Script ]
This plugin detects instances of script HTML elements and
returns the script language/type.
[ nginx ]
Nginx (Engine-X) is a free, open-source, high-performance
HTTP server and reverse proxy, as well as an IMAP/POP3
proxy server.
Version : 1.18.0
Website : http://nginx.net/
HTTP Headers:
HTTP/1.1 200 OK
Server: nginx/1.18.0 (Ubuntu)
Date: Tue, 24 Jan 2023 15:10:24 GMT
Content-Type: text/html
Last-Modified: Wed, 21 Dec 2022 18:31:13 GMT
Transfer-Encoding: chunked
Connection: close
ETag: W/"63a350f1-3c67"
Content-Encoding: gzip
```

View File

@@ -0,0 +1,3 @@
```bash
wkhtmltoimage --format png http://10.10.11.196:80/ /home/kali/htb/stocker/results/10.10.11.196/scans/tcp80/tcp_80_http_screenshot.png
```