Skip to content

Commit 06b498f

Browse files
committed
Create post
1 parent 2a6e537 commit 06b498f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

post

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import requests
2+
def post_flag(flag):
3+
body = {'canshu' : 'value'}
4+
r = requests.post("url", data=body)
5+
print r.text
6+
+-s = r.text.split('"')
7+
print(s[7].encode("utf-8").decode('unicode_escape'))
8+
#print s[7]
9+
if __name__ == '__main__':
10+
post_answer('1')

0 commit comments

Comments
 (0)