Put quotes around your URL . The & is being interpreted by bash and ending your URL early.
> On Nov 14, 2017, at 2:21 PM, Oleg V. Melnichuk <ole...@gmail.com> wrote: > > Hi > > I have several sites under the nginx server with different server_name > in a virtual machine with one IP address. Under this IP in the > /etc/hosts file of the host machine are written server_name, which > correspond to nginx. > Firefox for a specific server_name goes to the corresponding site. > > the sqlmap command on one of the pages of one of the server_name > results in a 404 error: > > u@u:~$ sqlmap -u http://1.bla/index.php?route=product/product&product_id=50 > [1] 4869 > u@u:~$ _ > ___ ___| |_____ ___ ___ {1.0.4.0#dev} > |_ -| . | | | .'| . | > |___|_ |_|_|_|_|__,| _| > |_| |_| http://sqlmap.org > > [!] legal disclaimer: Usage of sqlmap for attacking targets without > prior mutual consent is illegal. It is the end user's responsibility > to obey all applicable local, state and federal laws. Developers > assume no liability and are not responsible for any misuse or damage > caused by this program > > [*] starting at 21:17:07 > > [21:17:09] [INFO] testing connection to the target URL > [21:17:10] [CRITICAL] page not found (404) > it is not recommended to continue in this kind of cases. Do you want > to quit and make sure that everything is set up properly? [Y/n] > > [1]+ Stopped sqlmap -u > http://1.bla/index.php?route=product/product > u@u:~$ > > What are the ideas? > > -- > Regards, Oleg V. Melnichuk > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sqlmap-users mailing list > sqlmap-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlmap-users
signature.asc
Description: Message signed with OpenPGP
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ sqlmap-users mailing list sqlmap-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlmap-users