Author Topic: What do I need to do  (Read 1019 times)

0 Members and 1 Guest are viewing this topic.

Offline jeremy78

  • Serf
  • *
  • Posts: 37
  • Cookies: 9
    • View Profile
What do I need to do
« on: October 19, 2012, 08:15:14 pm »
I scanned this website and i got back 3 ports 1 open 2 closed the open one was http(port number 80 protocol TCP) the 2 closed ones were microsoft-ds( port number 445 protocol TCP) and the other one is netbios-ssn(port number 139 protocol TCP). I know I need to write an exploit to get passed them but i don't know if these ports are hackable i know port 80 will be really secure so can you guys help me figure out how i should start the exploit. Thanks.



EDIT: i know python batch and C
« Last Edit: October 19, 2012, 08:19:10 pm by jeremy78 »

Offline s3my0n

  • Knight
  • **
  • Posts: 276
  • Cookies: 58
    • View Profile
    • ::1
Re: What do I need to do
« Reply #1 on: October 19, 2012, 08:28:55 pm »
Find out the version of the http server. Connect with netcat and type in:
Code: [Select]
GET / HTTP/1.1That should output the version of the http server. Then see if there's already public exploit/PoC out there for this version. If there are no exploits or only PoC then you have to install the http server on a virtual machine and try to exploit it.
Here's a good start on exploitation:
https://www.corelan.be/index.php/2009/07/19/exploit-writing-tutorial-part-1-stack-based-overflows/

Good luck, you will need it..
Easter egg in all *nix systems: E(){ E|E& };E

Offline kateus

  • Peasant
  • *
  • Posts: 89
  • Cookies: 11
  • scientia potentia est
    • View Profile
Re: What do I need to do
« Reply #2 on: October 20, 2012, 02:15:30 pm »
I'm no expert, but I'm fairly sure that if the port is closed you can't exploit the server through there, as it is not accepting connections. So your only option would to be go through port 80. Unless you happen to know that one of the other, I'm assuming filtered ports, is actually open.