Results 1 to 8 of 8

Thread: Telnet ?'s

  1. #1
    Senior Member
    Join Date
    Dec 2003
    Posts
    317

    Telnet ?'s

    i was trying to do a telnet on whois.alldomains.com and for whatever reason it boots me off after i do one search, anybody know why? also, what happens when u telnet to a webserver on port 80? wouldnt the html source show up? cuz it just gives me a wierd blank screen then disconnects me.

  2. #2
    Senior Member
    Join Date
    Dec 2003
    Location
    Pacific Northwest
    Posts
    1,675
    Phonedog,

    The days of telnet are becoming fewer and fewer with the advent of more secure means. As a result the telnet services are secured. So it's not too surprising that you can't telnet to whom every you desire.

    cheers

  3. #3
    Macht Nicht Aus moxnix's Avatar
    Join Date
    May 2002
    Location
    Huson Mt.
    Posts
    1,752
    ??? Why would you want or need to telnet into a webserver? For that matter, why would you telnet into whois.alldomains.com?
    Telnet was not designed to surf the web.
    \"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, Champagne in one hand - strawberries in the other, body thoroughly used up, totally worn out and screaming WOO HOO - What a Ride!\"
    Author Unknown

  4. #4
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    Code:
    [rcgreen@acer X11]$ telnet antionline.com 80
    Trying 63.146.109.212...
    Connected to antionline.com.
    Escape character is '^]'.
    GET HTTP /1.1
    HTTP/1.1 400 Bad Request
    Date: Fri, 02 Apr 2004 22:50:44 GMT
    Server: Apache/1.3.29 (Unix) PHP/4.3.4
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>400 Bad Request</TITLE>
    </HEAD><BODY>
    <H1>Bad Request</H1>
    Your browser sent a request that this server could not understand.<P>
    The request line contained invalid characters following the protocol string.<P>
    <P>
    <HR>
    <ADDRESS>Apache/1.3.29 Server at www.antionline.com Port 80</ADDRESS>
    </BODY></HTML>
    Connection closed by foreign host.
    http://www.dgate.org/~brg/bvtelnet80/
    I came in to the world with nothing. I still have most of it.

  5. #5
    Senior Member
    Join Date
    Dec 2003
    Posts
    317
    yeah, but what about the whois server? i thought whois was meant to be used via telnet

    <edit>
    btw: that tutorial on getting web pages thru telnet was great, thanx for not flaming me
    </edit>

  6. #6
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    Posts
    2,716
    whois.alldomains.com is a whois server, and best accessed
    by a whois client. If your system doesn't have one, you can download it.

    http://www.google.com/search?hl=en&i...indows+console
    I came in to the world with nothing. I still have most of it.

  7. #7
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,785
    whois was meant to be used by a whois client which uses port 43 i believe. i suppose you could do it with telnet if you adheared to the format.

    echo GET/HTTP\n\n |nc -vv antionline.com 80 &gt;ao.txt

    &lt;!-- BEGIN TEMPLATE: P_home --&gt;
    &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;
    &lt;HTML&gt;
    &lt;HEAD&gt;
    &lt;!-- no cache headers --&gt;
    &lt;meta http-equiv="Pragma" content="no-cache"&gt;
    &lt;meta http-equiv="no-cache"&gt;
    &lt;meta http-equiv="Expires" content="-1"&gt;
    &lt;meta http-equiv="Cache-Control" content="no-cache"&gt;
    &lt;!-- end no cache headers --&gt;
    &lt;META NAME="keywords" CONTENT="Computer Security,Hacking,Hacker,Crackers,Virus,Virii,Webpages,DOS,Denial of Service,files,links,encryption,spoofing,news,texts,password,port monitors,key logger,phreaking,boxes,wardialers,patches,exploits,fixes,hot fixes,antionline,bugs,technology,"&gt;
    &lt;META NAME="description" CONTENT="AntiOnline's mission is to educate users about computer security related issues."&gt;
    &lt;TITLE&gt;AntiOnline - Computer Security&lt;/title&gt;
    &lt;!-- BEGIN TEMPLATE: headinclude --&gt;
    &lt;link rel="P3Pv1" href="/w3c/p3p.xml"&gt;
    &lt;meta http-equiv="MSThemeCompatible" content="Yes"&gt;
    &lt;style type="text/css"&gt;
    BODY {
    SCROLLBAR-BASE-COLOR: #2962B4;
    SCROLLBAR-ARROW-COLOR: #FFFFFF
    }
    TD { FONT-SIZE: 12px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }

    SELECT {
    FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    FONT-SIZE: 11px;
    COLOR: #000000;
    BACKGROUND-COLOR: #CFCFCF
    }
    TEXTAREA, .bginput {
    FONT-SIZE: 12px;
    FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
    COLOR: #000000;
    BACKGROUND-COLOR: #CFCFCF
    }
    #all A:link, #all A:visited, #all A:active {
    COLOR: #000020;
    }
    #all A:hover {
    COLOR: #802ba8;
    }
    #cat A:link, #cat A:visited, #cat A:active {
    COLOR: #000000;
    TEXT-DECORATION: underline;
    }
    #cat A:hover {
    COLOR: #000000;
    TEXT-DECORATION: underline;
    }
    #ltlink A:link, #ltlink A:visited, #ltlink A:active {
    COLOR: #000020;
    TEXT-DECORATION: none;
    }
    #ltlink A:hover {
    COLOR: #802ba8;
    TEXT-DECORATION: underline;
    }
    .thtcolor {
    COLOR: #000000;
    }

    .nf {
    FONT-FAMILY: verdana, arial, helvetica, sans-serif;
    FONT-SIZE: 12px;
    }

    .sf {
    FONT-FAMILY: verdana, arial, helvetica, sans-serif;
    FONT-SIZE: 10px;
    }
    &lt;/style&gt;
    &lt;script language="JavaScript" type="text/javascript"&gt;
    &lt;!--
    function confirm_newpm() {
    input_box=confirm("You have a new private message. Click OK to view it, or cancel to hide this prompt.");
    if (input_box==true) { // Output when OK is clicked
    second_box=confirm("Open in new window?\n\n(Press cancel to open your Inbox in the current window.)");
    if (second_box==true) {
    window.open('private.php?s=','pmnew','width=600,height=500,menubar=yes,scrollbars=yes,toolbar=yes,location=yes,directories=yes,resizable=yes,top=50,left=50');
    } else {
    window.location="private.php?s=";
    }
    } else {
    // Output when Cancel is clicked
    }
    }
    // --&gt;
    &lt;/script&gt;
    &lt;script language="JavaScript"&gt;
    &lt;!-- START HIDE
    function whodownloaded(attachmentid) {
    window.open
    ("whodownloaded.php?attachmentid=" + attachmentid,
    "whodownloaded", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=300, top=50, left=50"); }
    --&gt;
    &lt;/script&gt;
    &lt;script&gt;
    function openquote(){
    var popurl="quote.php?action=add"
    winpops=window.open(popurl,"","width=700,height=350,")
    }
    &lt;/script&gt;
    &lt;script language="JavaScript"&gt;
    function whovoted(pollid, optionid) {
    window.open("poll.php?action=whovoted&pollid="+pollid+"&optionid="+optionid, "whovoted", "toolbar=no,scrollbars=yes,resizable=no,width=240,height=300, top=50, left=50");
    }
    &lt;/script&gt;


    &lt;!-- END TEMPLATE: headinclude --&gt;
    &lt;SCRIPT LANGUAGE=JavaScript&gt;
    &lt;!--
    OAS_url = 'http://mjxads.internet.com/RealMedia/ads/';
    OAS_sitepage = 'intm/it/www.enterpriseitplanet.com/security/antionline';
    OAS_listpos = '336x280,468x60-2';
    OAS_query = '';
    OAS_target = '_top';
    OAS_version = 10;
    OAS_rn = '001234567890'; OAS_rns = '1234567890';
    OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
    function OAS_NORMAL(pos) {
    var_a=('&lt;A HREF="' + OAS_url + 'click_nx.cgi/' + OAS_sitepage );
    var_b=(var_a + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' );
    var_c=(var_b+ OAS_query + '" TARGET=' + OAS_target + '&gt;');
    document.write(var_c);
    var_aa=('&lt;IMG SRC="' + OAS_url + 'adstream_nx.cgi/' + OAS_sitepage );
    var_bb=( var_aa + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?');
    var_cc=( var_bb + OAS_query + '" BORDER=0&gt;&lt;/A&gt;');
    document.write(var_cc);
    }
    //--&gt;
    &lt;/SCRIPT&gt;

    &lt;SCRIPT LANGUAGE=JavaScript1.1&gt;
    &lt;!--
    OAS_version = 11;
    if (navigator.userAgent.indexOf('Mozilla/3') != -1 )
    OAS_version = 10;
    if (navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1)
    OAS_version = 10;
    if (OAS_version &gt;= 11) {
    var_aaa=('&lt;SCRIPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url);
    var_bbb=(var_aaa + 'adstream_mjx.ads/' + OAS_sitepage + '/1');
    var_ccc=(var_bbb + OAS_rns + '@' + OAS_listpos + '?' + OAS_query );
    var_ddd=(var_ccc + '"&gt;&lt;\/SCRIPT&gt;');
    document.write(var_ddd);
    }
    //--&gt;
    &lt;/SCRIPT&gt;

    &lt;SCRIPT LANGUAGE=JavaScript&gt;
    &lt;!--
    document.write('');
    function OAS_AD(pos) {
    if (OAS_version &gt;= 11)
    OAS_RICH(pos);
    else
    OAS_NORMAL(pos);


    ...etc., etc.
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

  8. #8
    Senior Member
    Join Date
    Sep 2003
    Posts
    500
    telnet is handy for a few things still. IRC for one, getting webpage headers, and checking your own ports. If you want to try out a terminal webpage client, go get one of the links or lynx binaries. It is loads of fun!
    You shall no longer take things at second or third hand,
    nor look through the eyes of the dead...You shall listen to all
    sides and filter them for your self.
    -Walt Whitman-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •