winsock multipart
winsock multipart
winsock multipart
winsock multipart
winsock multipart
winsock multipart winsock multipart winsock multipart winsock multipart winsock multipart winsock multipart winsock multipart winsock multipart
winsock multipart winsock multipart
winsock multipart
Go Back  Xtreme Visual Basic Talk > > > winsock multipart


Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2014, 09:14 AM
hanna21 hanna21 is offline
Newcomer
 
Join Date: Jul 2011
Posts: 2
Default winsock multipart


am trying to post on my site but it isnt working.

Code:
POST /wiki/index.php?title=Discu%C5%A3ie_Utilizator:gsddfds3&action=submit HTTP/1.1
Host: www.mijnzibit.nl
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://www.mijnzibit.nl/wiki/index.php?title=Discu%C5%A3ie_Utilizator:gsddfds3&action=submit
Cookie: PHPSESSID=e60f385ee69e64a51875f17ba2951e24; zibitxm7_wiki_session=10a39467ce5301cd1849906fce82fed2
Connection: keep-alive
Content-Type: multipart/form-data; boundary=---------------------------611033957990

Code:
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpSection"\r\n
\r\n
\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpStarttime"\r\n
\r\n
20140316100207\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpEdittime"\r\n
\r\n
20140316100207\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpScrolltop"\r\n
\r\n
0\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpAutoSummary"\r\n
\r\n
d41d8cd98f00b204e9800998ecf8427e\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="oldid"\r\n
\r\n
0\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpTextbox1"\r\n
\r\n
aggass2223333333332\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpSummary"\r\n
\r\n
\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpSave"\r\n
\r\n
Pagina opslaan\r\n
-----------------------------611033957990\r\n
Content-Disposition: form-data; name="wpEditToken"\r\n
\r\n
+\\\r\n
-----------------------------611033957990--\r\n





Code:
Private Sub ws_Connect()
Dim agent As String, agent1 As String
Dim packket As String, packet1 As String, packet2 As String, packet3 As String, posst As String, login As String
Dim chip As String, chip2 As String
login2 = "-----------------------------611033957990\r\n" & vbCrLf & Text3 & vbCrLf & "\r\n" & vbCrLf & "\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text4.Text & vbCrLf & "\r\n" & vbCrLf & "20140316100207\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text6.Text & vbCrLf & "\r\n" & vbCrLf & "20140316100207\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text7.Text & vbCrLf & "\r\n" & vbCrLf & "0\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text8.Text & vbCrLf & "\r\n" & vbCrLf & "d41d8cd98f00b204e9800998ecf8427e\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text9.Text & vbCrLf & "\r\n" & vbCrLf & "0\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text10.Text & vbCrLf & "\r\n" & vbCrLf & "aggass2222\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text11.Text & vbCrLf & "\r\n" & vbCrLf & "\r\n" & vbCrLf & _
"-----------------------------611033957990\r\n" & vbCrLf & Text12.Text & vbCrLf & "\r\n" & vbCrLf & "Pagina opslaan\r\n" & vbCrLf & "-----------------------------611033957990\r\n" & vbCrLf & Text13.Text & vbCrLf & "\r\n" & vbCrLf & "+\\\r\n" & vbCrLf & "-----------------------------611033957990--\r\n"
packet = "POST /wiki/index.php?title=Discu%C5%A3ie_Utilizator:asdaz333&action=submit HTTP/1.1" & vbCrLf
packet = packet & "Host: www.mijnzibit.nl" & vbCrLf
packet = packet & "User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0" & vbCrLf
packet = packet & "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" & vbCrLf
packet = packet & "Accept-Language: en-US,en;q=0.5" & vbCrLf
packet = packet & "Accept-Encoding: gzip , deflate" & vbCrLf
packet = packet & "Referer: http://www.mijnzibit.nl/wiki/index.php?title=Discu%C5%A3ie_Utilizator:gsddfds3&action=submit" & vbCrLf
packet = packet & "Cookie: PHPSESSID=e60f385ee69e64a51875f17ba2951e24; zibitxm7_wiki_session=10a39467ce5301cd1849906fce82fed2" & vbCrLf
packet = packet & "Connection: keep-alive" & vbCrLf
packet = packet & "Content-Type: multipart/form-data; boundary=---------------------------611033957990" & vbCrLf


packet = packet & "Content-Length: " & Len(login2) & vbCrLf & vbCrLf '& login2

'packet = packet & "Content-Length: " & Len(packet) & vbCrLf & vbCrLf & packet
ws.SendData packet



End Sub
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
winsock multipart
winsock multipart
winsock multipart winsock multipart
winsock multipart
winsock multipart
winsock multipart winsock multipart winsock multipart winsock multipart winsock multipart winsock multipart winsock multipart
winsock multipart
winsock multipart
 
winsock multipart
winsock multipart
 
-->