Saturday, June 8, 2013

Scripting metasploit with msfcli

I found the tutorials on the web to not work out of the box as msfcli is very picky about the format of the arguments, this is the snippet I used to do some testing, a super-simple Bash script (instead of the `cat file4` you can put whatever funky ls magic you need to do to locate your file):
#!/bin/bash
for host in `cat file4`
do
        echo pwning host $host;
        msfcli "auxiliary/scanner/scada/modbusdetect" RHOST $host E;
done

2 comments:

  1. Bulk Fresh Fullz/Pros/Leads Available

    High Credit Scores Fullz 700+
    CC Fullz (USA/UK/CANADA)
    SSN DOB DL Fullz
    Office365 Leads
    Dumps With Pin
    Business EIN Fullz
    Leads for Tax Return/PUA USA

    ICQ/TG - @killhacks
    WA - +92 317 2721122
    Email- exploit dot tools4u at gmail dot com

    All Spamming & Hacking Tools
    Carding Methods/Loan Methods
    Mailers/Senders/Shells/Brutes
    C-panels/RDP's/SMTP's
    Onion Web Links
    I.p's/Proxies/Server I.P's
    Combos/Premium account Logs
    Fr**d B**le 201/2022/2023 Updated

    ICQ- 752822040
    Telegram - @killhacks

    ReplyDelete
  2. Selling USA/UK/CANADA LEADS-FULLZ-DATABASE

    Huge discounts on bulk order
    Replacement for bad and invalid info
    Payment in any Crypto
    Success Ratio 80-90%
    Service 24/7
    ------------------------------------------------------
    Offering USA-UK-CANADA STUFF

    SSN SIN DOB Address Phone Email
    SSN DOB DL Address Employment Bank Info & Routing number
    UK NIN DOB DL Address Sort Code
    SIN DOB Address MMN Phone Email
    Real DL Scan Front back with selfie & SSN
    PASSPORT PHOTOS
    YOUNG AND OLD AGE FULLZ
    EIN FULLZ
    BUSINESS OWNER LEADS
    PAYDAY & PERSONAL LOAN LEADS
    FIRST HIT SWEEPSTAKES
    CASINO LEADS
    HOME OWNERS LEADS
    EMPLOYEE LEADS
    USA BANK LEADS
    EMAIL, COMBOS & PHONE NUMBER LEADS
    CRYPTO & FOREX LEADS
    STOCK MARKET LEADS
    CARS DATA BASE WITH REGISTRATION NUMBER
    LOAN & CARDING METHODS
    ...AND MANY OTHER STUFF ON DEMAND
    -------------------------------------------------------
    Contact us 24/7:
    Tele gr@m - @Lead_pro20
    Whats App - (+1).. 605… 8461.. 870…
    Email - datatrader3 at g mail dot com

    ReplyDelete