Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Code Newbie > Lounge

Reply
 
LinkBack Thread Tools Display Modes
Old 08-12-2003, 04:51 PM   #1 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
Telnet

If i wanted to connect to someones computer using telnet, but after port scanning there computer, it shows the only port open is 80, can i connect with that port. If i can, is there anything that i could actually do to there computer through that. If not, how do i connect through another port. How would i open that other port?
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 05:04 PM   #2 (permalink)
npa
Code Monkey
 
Join Date: Jul 2003
Location: canada
Posts: 82
npa is on a distinguished road
start->cmd->"telnet <the_ip_here> 80"

then do:
"get / http/1.0

"

[thats 'two' returns]

and you will be given the default webpage.

for more on security visit: http://www.securityfocus.com
__________________
direct entry file specification.
npa is offline   Reply With Quote
Old 08-12-2003, 05:31 PM   #3 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
thanx

this is what i get when i do that....

HTTP/1.1 400 Bad Request
Server: Microsoft-IIS/5.0
Date: Wed, 13 Aug 2003 00:25:02 GMT
Content-Type: text/html
Content-Length: 87

<html><head><title>Error</title></head><body>The parameter is incorrect. </body>
</html>

Connection to host lost.


what do you mean that gives me the website? and what can i do after ive connected to them and done that?
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 05:34 PM   #4 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
Now i got this with another Ip address

HTTP/1.1 501 Method Not Implemented
Date: Wed, 13 Aug 2003 00:32:59 GMT
Server: Apache/1.3.27 (Unix) mod_throttle/3.1.2 PHP/4.3.1 mod_ssl/2.8.11 OpenSSL
/0.9.6g FrontPage/5.0.2.2510
Allow: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, PATCH, PROPFIND, PROPPATC
H, MKCOL, COPY, MOVE, LOCK, UNLOCK, TRACE
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>501 Method
Not Implemented</TITLE>
</HEAD><BODY>
<H1>Method Not Implemented</H1>
get to /index
.html not supported.<P>
Invalid method in request get / http/1.0<P>
<HR>
<ADDRESS>A
pache/1.3.27 Server at 199.236.4.162 Port 80</ADDRESS>
</BODY></HTML>


Connection to host lost.

C:\DOCUME~1\SAMGRO~1>
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 06:23 PM   #5 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
haha. maybe someone needs to write up a "l33t hax0ring for skript kiddyz" tutorial.
joe_bruin is offline   Reply With Quote
Old 08-12-2003, 06:30 PM   #6 (permalink)
npa
Code Monkey
 
Join Date: Jul 2003
Location: canada
Posts: 82
npa is on a distinguished road
you were there once too
__________________
direct entry file specification.
npa is offline   Reply With Quote
Old 08-12-2003, 06:54 PM   #7 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
Hey, he's moving up in the world. He moved from IIS on Windows to Apache on Unix.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 08-12-2003, 07:43 PM   #8 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
can anyone tell me what all that up there means though?
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 08:03 PM   #9 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
That command, effect-wise, just get's the ID of the server you connected to.

What's actually happening is that you are getting unadulterated HTTP traffic. It's that stuff that web-browsers read in, parse, and then display purdy pictures and colors and things to you.

If you're really interested in this stuff, grab TCP/IP for Dummies. Good primer on this sort of stuff (and if you buy Internet for Dummies instead, you should be beaten with it until harmless).

Really, where I first learned about this was when I took my CS deptartment's make-or-break course. I barely knew Java, and the first assignment was to write a functional, graphical Usenet client.

Ahh, good times. If you really want to learn networking, try that.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 08-12-2003, 08:12 PM   #10 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
Thanx

thanx i just ordered those two books from amazon. i also wanted to know if there was someway i could open ports on another computer. and once ive opened them and connected to them through telnet, what kind of stuff i could do.
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 08:35 PM   #11 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
Good grief, you're just screaming "script kiddie".
__________________
GitS
Belisarius is offline   Reply With Quote
Old 08-12-2003, 08:44 PM   #12 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
Really, all you're doing with Telnet is reading and writing ASCII to a socket. You can do that in almost any programming language. Don't worry about opening ports and junk like that. Try doing some network programming, and you'll get the hang of what's going on.

Learn a language like Java or C, create a simple server to do something like send out e-mail.

This site has all the protocol info you need for it:
ftp://ftp.rfc-editor.org/in-notes/rfc821.txt
__________________
GitS
Belisarius is offline   Reply With Quote
Old 08-12-2003, 08:46 PM   #13 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
yeah thats what joe bruin said earlier too. whats that?
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 08:49 PM   #14 (permalink)
bluedevils1414
Registered User
 
Join Date: Aug 2003
Location: sd.ca.us
Posts: 29
bluedevils1414 is on a distinguished road
i mean the script kiddie...wuts that
bluedevils1414 is offline   Reply With Quote
Old 08-12-2003, 08:50 PM   #15 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
Seriously though, here's what you're basically saying with these questions:

Hey, I want to hack into someone's computer but I don't know anything about hacking, or computer networks for that matter. Can you help me?

The answer to that is, at any rate I won't, and so far no one else here will. We can show you a thing or two about computer networks, but we aren't going to show you how to root someone.
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable telnet? sde Linux / BSD / OS X 5 02-07-2003 04:25 PM


All times are GMT -8. The time now is 11:44 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting