Nmap Development mailing list archives
Re: dev Digest, Vol 150, Issue 18
From: "Md. Tariq Aziz" <passioninopnet () gmail com>
Date: Wed, 18 Oct 2017 12:31:21 +0600
On Sep 19, 2017 1:00 AM, <dev-request () nmap org> wrote:
Send dev mailing list submissions to dev () nmap org To subscribe or unsubscribe via the World Wide Web, visit https://nmap.org/mailman/listinfo/dev or, via email, send a message with subject or body 'help' to dev-request () nmap org You can reach the person managing the list at dev-owner () nmap org When replying, please edit your Subject line so it is more specific than "Re: Contents of dev digest..." Today's Topics: 1. Re: ncrack --pairwise?how to use it? (Fotis Chantzis) ---------------------------------------------------------------------- Message: 1 Date: Sun, 17 Sep 2017 22:51:26 -0500 From: Fotis Chantzis <ithilgore.ryu.l () gmail com> To: michael johns <kasuallll367 () gmail com> Cc: Nmap-dev <dev () nmap org> Subject: Re: ncrack --pairwise?how to use it? Message-ID: <CAFOwBwM9Hfhx6v_MTbQwwDtaBeQwQCcN+peNqzH6Kt5tgzht9A@mail.gmail. com> Content-Type: text/plain; charset="utf-8" The --pairwise option does exactly what you need: (from man page) --pairwise (Choose usernames and passwords in pairs) Enabling this option will make Ncrack iterate the username and password list by choosing them in pairs. For example, given the username list of "root, guest, admin" and the password list of "test, 12345, q1w2e3r4" Ncrack will go over them like this: "root:test", "guest:12345", "admin:q1w2e3r4". This is particulary useful when inside knowledge of the infrastructure tested is available and special username and password lists have been made. You only need to provide the usernames and passwords in separate files and using the -U and -P switches. If you have them in one file, you can separate them using cut: $ cut pairs.txt -d ":" -f 1 > users.txt $ cut pairs.txt -d ":" -f 2 > passwords.txt Then use: $ ncrack --pairwise -U users.txt -P passwords.txt <host> On Sat, Sep 16, 2017 at 5:58 AM, michael johns <kasuallll367 () gmail com> wrote:ncrack --pairwise?how to use it? i want to us-->user:pass in pairs adm:pass adm1:pss2 etc.. need syntax, thank you _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://nmap.org/mailman/private/dev/attachments/ 20170917/2b4ca16c/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ dev mailing list dev () nmap org https://nmap.org/mailman/listinfo/dev ------------------------------ End of dev Digest, Vol 150, Issue 18 ************************************
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: dev Digest, Vol 150, Issue 18 Md. Tariq Aziz (Oct 17)