Http-auth with basic realm name


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Http-auth with basic realm name
# 1  
Old 09-17-2016
[Solved]Http-auth with basic realm name

Hello,
I am running nmap and I wish to see basic realm name when I run a query.

For example, I wish to enter application_name for map query.
when I nmap an ip, the result I expect to get is: :

Code:
Port: 33234
HTTP/1.1 401 Unauthorized
Server: Apache/2.4.7 (Ubuntu)
Cache-Control: no-cache
WWW-Authenticate: Basic realm="application_name"
Connection: Keep-Alive
Content-Type: text/html
Content-Length: 193


Do you think that nmap can handle this request or nmap with http-auth script is the best way to get this result?


Edit: Sorted out after reading nmap documents.
Many thanks
Boris

Last edited by baris35; 10-04-2016 at 12:22 AM.. Reason: Sorted
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies

2. Web Development

HTTP Headers Reference: HTTP Status-Codes

Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies

3. Web Development

Automization for realm windows security Alert User name and password

I am hitting application Direct URL's(dev servers) from windows7 desktop. I got the popup window to enter credentials. "the server at default realm requires a username and password". devserver is unix server. I have 10 applications need to hit 40 directl urls. I dont like to enter unser... (3 Replies)
Discussion started by: ksreddi
3 Replies

4. Shell Programming and Scripting

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies

5. Programming

sending http url through http socket programming..

hi am senthil am developing a software to send and receive SMS using HTTP connection first of all am forming a URL and sending that URL to a remote server using my Client Program i send that url through Socket(using Send() Function) if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies

6. AIX

Kerberos and LDAP Auth

Good day I am trying to configure Kerberos and LDAP authentication on AIX 5.3 with Windows 2003 R2 but something is not quite right. When I ran kinit username I get a ticket and I can display it using klist. When the user login I can see the ticket request on Windows 2003, but the user... (1 Reply)
Discussion started by: mariusb
1 Replies

7. UNIX for Advanced & Expert Users

Apache auth question

While not technically a unix question, I was hoping for some help from you all- I've got an Apache 1.3.x server, and I am using basic auth from the pam_auth module and winbind on the back of that. What I get is a relaly sleek authentication for my Windos domain users, however, as they are wont... (1 Reply)
Discussion started by: loadc
1 Replies
Login or Register to Ask a Question