Telnet?

What's the best way to setup a home network? Why should I care about BGP?

Telnet?

Post by sandsphinx on Tue Sep 29, 2009 2:34 pm
([msg=30239]see Telnet?[/msg])

Heya guys, im absolutely very new to server routing and i was wondering basically if anyone could give me any advice on how to maybe learn the outline of the procedure. I don't want to say anything that will get me flamed but is it right in saying that i can server route using telnet, and maybe with the command, "o www.random.com 80" As o means connect, i think, and www.random.com is the server, and 80 is the port? Am i right so far, and also what are the benefits in server routing? Why do people do this? What can i gain using this? Thanks for any help, and yes i did google. :D
Image
User avatar
sandsphinx
Poster
Poster
 
Posts: 206
Joined: Thu Mar 12, 2009 9:05 am
Blog: View Blog (0)


Re: Telnet?

Post by thedotmaster on Tue Sep 29, 2009 3:34 pm
([msg=30244]see Re: Telnet?[/msg])

You mean "root" or "server rooting". It gets the name from "root permissions", i.e. top level permissions.
The telnet client is just a way to connect to a server.
Connect to a hackthissite on 80 using telnet and type:
Code: Select all
GET / HTTP/1.1
Host: www.hackthissite.org


You're right about the port thing, you'd connect like so:
Code: Select all
telnet www.hackthissite.org 80


Image

For information on rooting, take a look at these topics:
http://en.wikipedia.org/wiki/Buffer_overflow
http://en.wikipedia.org/wiki/Stack_overflow
http://articles.techrepublic.com.com/51 ... 49211.html
http://www.sans.org/top25errors/

Also, you might want to take a look at http://milw0rm.com/
Find a random exploit and take it apart - find out how it works, etc.
Look for ones in applications, servers, etc.
e.g. http://milw0rm.com/exploits/9673

Try compiling this C code to get an understanding of how buffer overflows work, take a look very carefully:
Code: Select all
#include <stdio.h>

int main(void) {
int first[2] = {1,1};
int second[2] = {2,2};

printf("%i\n",second[3]);

//getchar();  // uncomment only if you don't run code from console.
return 0;
}


Hope this helped.
Image
User avatar
thedotmaster
Contributor
Contributor
 
Posts: 984
Joined: Sun May 04, 2008 4:39 pm
Location: North West UK
Blog: View Blog (1)


Re: Telnet?

Post by sandsphinx on Wed Sep 30, 2009 8:05 am
([msg=30263]see Re: Telnet?[/msg])

yeh it did alot, thanks, will take a look at that and get backto you... thanks
Image
User avatar
sandsphinx
Poster
Poster
 
Posts: 206
Joined: Thu Mar 12, 2009 9:05 am
Blog: View Blog (0)



Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests