One Hat Cyber Team
Your IP :
172.70.80.190
Server IP :
188.114.97.3
Server :
Linux thuru 6.5.11-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-4 (2023-11-20T10:19Z) x86_64
Server Software :
Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips
PHP Version :
7.3.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
python-pycurl-7.19.0
/
tests
/
Edit File:
test_post.py
#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # vi:ts=4:et # $Id: test_post.py,v 1.9 2003/04/21 18:46:11 mfx Exp $ import urllib import pycurl # simple pf = {'field1': 'value1'} # multiple fields pf = {'field1':'value1', 'field2':'value2 with blanks', 'field3':'value3'} # multiple fields with & in field pf = {'field1':'value1', 'field2':'value2 with blanks and & chars', 'field3':'value3'} c = pycurl.Curl() c.setopt(c.URL, 'http://pycurl.sourceforge.net/tests/testpostvars.php') c.setopt(c.POSTFIELDS, urllib.urlencode(pf)) c.setopt(c.VERBOSE, 1) c.perform() c.close()
Simpan