mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-20 13:03:23 +03:00
test if boolean also works correctly for --os-cmd
This commit is contained in:
parent
6f08d10d07
commit
74286e339f
|
@ -1972,7 +1972,7 @@
|
||||||
<item value="r'Sending stage.+Linux.+uid=.+www-data'" console_output="True"/>
|
<item value="r'Sending stage.+Linux.+uid=.+www-data'" console_output="True"/>
|
||||||
</parse>
|
</parse>
|
||||||
</case>
|
</case>
|
||||||
<case name="PostgreSQL User-Defined Function (UDF) injection - command execution">
|
<case name="PostgreSQL User-Defined Function (UDF) injection - command execution (UNION)">
|
||||||
<switches>
|
<switches>
|
||||||
<url value="http://debiandev/sqlmap/pgsql/get_int.php?id=1"/>
|
<url value="http://debiandev/sqlmap/pgsql/get_int.php?id=1"/>
|
||||||
<tech value="US"/>
|
<tech value="US"/>
|
||||||
|
@ -1983,6 +1983,17 @@
|
||||||
<item value="command standard output: 'uid="/>
|
<item value="command standard output: 'uid="/>
|
||||||
</parse>
|
</parse>
|
||||||
</case>
|
</case>
|
||||||
|
<case name="PostgreSQL User-Defined Function (UDF) injection - command execution (boolean)">
|
||||||
|
<switches>
|
||||||
|
<url value="http://debiandev/sqlmap/pgsql/get_int.php?id=1"/>
|
||||||
|
<tech value="BS"/>
|
||||||
|
<osCmd value="ls -1"/>
|
||||||
|
<answers value="do you want to overwrite it=Y"/>
|
||||||
|
</switches>
|
||||||
|
<parse>
|
||||||
|
<item value="r'command standard output:.+base.+PG_VERSION.+server.key'"/>
|
||||||
|
</parse>
|
||||||
|
</case>
|
||||||
<case name="PostgreSQL shell via Metasploit integration - command execution">
|
<case name="PostgreSQL shell via Metasploit integration - command execution">
|
||||||
<switches>
|
<switches>
|
||||||
<url value="http://debiandev/sqlmap/pgsql/get_int.php?id=1"/>
|
<url value="http://debiandev/sqlmap/pgsql/get_int.php?id=1"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user