Pustaka Taratsa

Baca teks (EPUB): Nmap: retrieve http login scheme

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. Nmap: retrieve http login scheme
  2. File http-auth
  3. Penggunaan
  4. Contoh Penggunaan
  5. Contoh Output
  6. Referensi

Nmap: retrieve http login scheme

Sumber: https://onnocenter.or.id/wiki/index.php/Nmap:_retrieve_http_login_scheme

Sumber: https://nmap.org/nsedoc/scripts/http-auth.html

File http-auth

Script types: portrule
Categories: default, auth, safe
Download: http://nmap.org/svn/scripts/http-auth.nse

Penggunaan

Retrieves the authentication scheme and realm of a web service that requires authentication.

Contoh Penggunaan

nmap --script http-auth [--script-args http-auth.path=/login] -p80 <host>
nmap --script http-auth --script-args http-auth.path=/login.asp -p80 192.168.0.223

Contoh Output

PORT   STATE SERVICE REASON
80/tcp open  http    syn-ack
| http-auth:
| HTTP/1.1 401 Unauthorized
|   Negotiate
|   NTLM
|   Digest charset=utf-8 nonce=+Upgraded+v1e4e256b4afb7f89be014e...968ccd60affb7c qop=auth algorithm=MD5-sess realm=example.com
|_  Basic realm=example.com

Referensi