mirror of
https://github.com/hohn/codeql-dataflow-sql-injection.git
synced 2025-12-16 18:23:05 +01:00
readme code reordering
This commit is contained in:
committed by
=Michael Hohn
parent
9970524b8d
commit
d2a9737b4e
@@ -20,13 +20,13 @@
|
|||||||
First User
|
First User
|
||||||
|
|
||||||
|
|
||||||
# Check
|
|
||||||
./admin show-db
|
|
||||||
|
|
||||||
# Regular user via "external" process
|
# Regular user via "external" process
|
||||||
echo "User Outside" | ./add-user 2>> users.log
|
echo "User Outside" | ./add-user 2>> users.log
|
||||||
./admin show-db
|
./admin show-db
|
||||||
|
|
||||||
|
# Check
|
||||||
|
./admin show-db
|
||||||
|
|
||||||
# Add Johnny Droptable
|
# Add Johnny Droptable
|
||||||
./add-user 2>> users.log
|
./add-user 2>> users.log
|
||||||
Johnny'); DROP TABLE users; --
|
Johnny'); DROP TABLE users; --
|
||||||
@@ -34,6 +34,8 @@
|
|||||||
|
|
||||||
# And the problem:
|
# And the problem:
|
||||||
./admin show-db
|
./admin show-db
|
||||||
|
|
||||||
|
# Check the log
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user