SHARE
TWEET

Untitled

a guest Aug 17th, 2018 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   Function POSTweb(ByVal username As String, ByVal password As String)
  2.         Using wc As New WebClient
  3.  
  4.             ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
  5.             wc.Headers.Add("Accept: application/json, text/javascript, */*; q=0.01")
  6.             wc.Headers.Add("Origin: https://www.takipcihilesiyap.com")
  7.             wc.Headers.Add("X-Requested-With: XMLHttpRequest")
  8.             wc.Headers.Add("User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36")
  9.             wc.Headers.Add("Content-Type: application/x-www-form-urlencoded; charset=UTF-8")
  10.             wc.Headers.Add("Referer: https://www.takipcihilesiyap.com/giris")
  11.             wc.Headers.Add("Accept-Language: ar,en-US;q=0.9,en;q=0.8")
  12.             wc.Headers.Add("Cookie: ac4ef8fb2cbef2d97ce9990e007f82b2=f3km2vagh209j1kkpbu3t3jab4; _ga=GA1.2.1297576932.1534551931; _gid=GA1.2.1113335241.1534551931")
  13.  
  14.  
  15.             wc.UploadString("https://www.takipcihilesiyap.com/giris?", "username=" & username & "&password=" & password & "&antiForgeryToken=d7b4fd3ed22af50b648b642106f4f202")
  16.  
  17.         End Using
  18.  
  19.     End Function
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top