Results 1 to 4 of 4

Thread: how to make autopwn in one script (metasploit)

  1. #1
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    3

    Default how to make autopwn in one script (metasploit)

    Hello

    My question is - how to make script that will scan ports of host given in argument and will try to make autopwn of this host by metasploit.

    Regards
    xsoti

  2. #2
    Junior Member skidmarq's Avatar
    Join Date
    Jan 2010
    Posts
    88

    Default Re: how to make autopwn in one script (metasploit)

    This is already built into the db_autopwn command, if I understand your question. The following will scan a host for HTTP daemon and then run all exploits that match the port.

    db_nmap 1.1.1.1 -p80
    db_autopwn -t -p -e
    I got 99 problems but the bits ain't one...

  3. #3
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    3

    Default Re: how to make autopwn in one script (metasploit)

    I know how to do it from metasploit framework, but i need to do it from shell level, i want to make something like that: when somone connect to page i made, automatically this page will get his ip adress and run script who will scan all ports and make autopwn at this ports.

    Sorry for english
    Regards
    xsoti

  4. #4
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    3

    Default Re: how to make autopwn in one script (metasploit)

    i know that this command is in metasploit framework but i want to make script that will do it from shell level smth like $echo -e "db db_nmap 1.1.1.1 -p80 \n db_autopwn -t -p -e" >> code; chmod +x code; ./code but it won`t work so my question is how to do it right :]

    regards
    xsoti

Similar Threads

  1. Metasploit autopwn
    By Kaskra in forum OLD Newbie Area
    Replies: 6
    Last Post: 03-05-2009, 11:22 AM
  2. A question about metasploit's autopwn...
    By drakoth777 in forum OLD Newbie Area
    Replies: 2
    Last Post: 02-09-2009, 01:50 PM
  3. Editing autopwn script
    By abitaz in forum OLD Pentesting
    Replies: 2
    Last Post: 12-30-2007, 04:06 AM
  4. autopwn in Metasploit 3.0
    By RoboticTao in forum OLD Newbie Area
    Replies: 1
    Last Post: 12-24-2007, 06:31 PM
  5. AUTOPWN in Metasploit
    By Vagabond in forum OLD Pentesting
    Replies: 2
    Last Post: 08-06-2007, 02:23 AM

Posting Permissions

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