Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Daniele Bianchin
I found something: the problem is sqlmap don't know when query is true or false. Because when it is true it's redirected to index.php, when it is false Login.php shows an error message. Is there a way to say "IF (you get redirected to index.php) THEN query is true ELSE query is false" or "IF(Login

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Daniele Bianchin
anyway...colud anyone take the source and try himself? If it can help i'm using phpv7.0 with php-mysql libraries 2016-12-04 17:00 GMT+01:00 Daniele Bianchin : > @Miroslav Ah ok...i don't know i tried everything... > > 2016-12-04 16:57 GMT+01:00 Miroslav Stampar : > >> UA == User-Agent >> >> On D

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Daniele Bianchin
@Miroslav Ah ok...i don't know i tried everything... 2016-12-04 16:57 GMT+01:00 Miroslav Stampar : > UA == User-Agent > > On Dec 4, 2016 16:57, "Daniele Bianchin" wrote: > >> @Miroslav. What UA does it mean? >> >> @Brandon tried with sqlmap -u "127.0.0.1/test/Login.php" >> --data="user=lol&passw

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Daniele Bianchin
@Miroslav. What UA does it mean? @Brandon tried with sqlmap -u "127.0.0.1/test/Login.php" --data="user=lol&password=lol" --dbs --suffix="#" -v 3 --tamper=space2plus and didn't work. 2016-12-04 16:50 GMT+01:00 Miroslav Stampar : > I am kind of confused. You said that it's your application, right?

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Miroslav Stampar
UA == User-Agent On Dec 4, 2016 16:57, "Daniele Bianchin" wrote: > @Miroslav. What UA does it mean? > > @Brandon tried with sqlmap -u "127.0.0.1/test/Login.php" > --data="user=lol&password=lol" --dbs --suffix="#" -v 3 --tamper=space2plus > and didn't work. > > 2016-12-04 16:50 GMT+01:00 Miroslav

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Miroslav Stampar
I am kind of confused. You said that it's your application, right? Why would your application care about UA. Also, you've sent source code which hasn't looked into UA Bye On Dec 4, 2016 16:47, "Daniele Bianchin" wrote: > Ok, i made a test with BurpSuite as Brandon said. > I tried to inject lol'

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Daniele Bianchin
Ok, i made a test with BurpSuite as Brandon said. I tried to inject lol'UNION ALL SELECT NULL,NULL# manually and it worked. The same payload with sqlmap not. This is what BurpSuite shows: http://pastebin.com/6ifKNX9k the first is made manually with firefox the second with sqlmap... should i chang

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Brandon Perry
You can add —proxy and make sqlmap pass all requests through burpsuite or another proxy so you can see what the difference is between the requests sqlmap creates and the ones you make by hand are. > On Dec 4, 2016, at 8:27 AM, Miroslav Stampar > wrote: > > This is a straigthforward case. You

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Miroslav Stampar
This is a straigthforward case. You are messing something up. Use username=foobar&password=foobar in POST data. Don't put already SQLi payload anywhere. Use --level=3 --risk=3 As said, you are doing something really really wrong here. Bye On Sun, Dec 4, 2016 at 3:06 PM, Daniele Bianchin wrote:

Re: [sqlmap-users] Problem with a Login

2016-12-04 Thread Brandon Perry
What command and arguments are you using exactly? Sent from a phone > On Dec 4, 2016, at 8:06 AM, Daniele Bianchin wrote: > > Hi! > I have an issue with sqlmap. > I created my own fake login in order to test blind sql injection but > everytime i make a test sqlmap says it isn't exploitable. >

[sqlmap-users] Problem with a Login

2016-12-04 Thread Daniele Bianchin
Hi! I have an issue with sqlmap. I created my own fake login in order to test blind sql injection but everytime i make a test sqlmap says it isn't exploitable. I tried to add a suffix, set level to 5, set risk to 3, set not-string option but sqlmap still not work with it. The login source is: http: