192 168 8090 httpclient

Discussion in 'Windows Know Base' started by securityhope, Aug 23, 2016.

  1. securityhope

    securityhope Administrator Staff Member

    Joined:
    Aug 3, 2016
    Messages:
    1,241
    Likes Received:
    0
    Trophy Points:
    36
    Shell script to log into a particular site

    I need to login to the Internet Access Portal of our college to get access to the Internet. (Cyberoam) I need to keep this window opened all the time. The address is http://192.168.0.1:8090/httpclient.html I need to enter the username and password there to login.

    I'm new to scripting. I need help make a script which: 1. Opens Lynx 2. Goes to: http://192.168.0.1:8090/httpclient.html 3. Automatically enters my username and password 4. Keeps me logged in

    I need to do this because it is a pain to log in manually each time. If my browser needs updating, it won't update as I don't have internet access yet.

    Answer

    Use curl to post your username and password.

    curl --data "login=userid&pass=password" http://192.168.0.1:8090/httpclient.html

    EDIT:

    I am assuming your college is using Cyberoam. In this case you need to keep open a window with login portal.
    then for using lynx

    Code:
    echo "login=userid&pass=password\n--\n" | lynx -post_data http://192.168.0.1:8090/httpclient.html
    should work.

    EDIT:

    This answer may be useful for your case as well.

    EDIT:

    Comeup with an another answer that may help you, since other didn't worked for you. I used curl with lynx for this one.

    Code:
    curl -d "login=userid&pass=password" http://192.168.0.1:8090/httpclient.html | lynx -stdin
    Even after this if you see a login window then refresh the page and there will be no login window. I have tried this for many sites and this worked for all.

    192 168 254 8090 httpclient

    Definition: The IP address 192.168.1.254 is the default for certain home broadband routers and broadband modems, including:

    • Some 3Com OfficeConnect routers
    • Netopia / Cayman Internet gateways
    • Billion ADSL routers
    • Linksys SRW2024 managed switches
    • Westell modems for Bellsouth / AT&T DSL Internet service in the U.S.

    This address is set by the manufacturer at the factory, but you can change it at any time using the vendor's console management software. Entering 'http://192.168.1.254' (and not 'www.192.168.1.254') into a Web browser's address bar enables access to the router's console.

    192.168.1.254 is a private IPv4 network address. Any device on a local network can be set to use it. As with any such address, however, only one device on the network should use 192.168.1.254 at a time to avoid IP address conflicts.

    Incoming Search Terms:
    • 100 8090 httpclient
    • 192 168 250 8090 httpclient
    • 172 8090 httpclient
    • 192 168 100 8090 httpclient
    • 192 168 250 8090 httpclient
    • 172 100 8090 httpclient
     

Share This Page

Share