Re: dev Digest, Vol 150, Issue 18
"Md. Tariq Aziz" <[email protected]>
| Newsgroups | gmane.comp.security.nmap.devel |
|---|---|
| Message-ID | <CA+k88svQkjjakvon2xAh2zJ-H0-q-B4sh-LEQOEbdzRUTF6xvw@mail.gmail.com> |
On Sep 19, 2017 1:00 AM, <[email protected]> wrote: > Send dev mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 <[email protected]> > To: michael johns <[email protected]> > Cc: Nmap-dev <[email protected]> > Subject: Re: ncrack --pairwise?how to use it? > Message-ID: > <[email protected]. > 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 <[email protected]> > 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 > [email protected] > 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/