|
-
Jan 20th, 2008, 11:42 AM
#1
Thread Starter
New Member
help sending http packets thru winsock
hi
i have been trying to make a myspace program in vb6 to collect huge donation asap but the problem is im confused cause i dont know how to send the data because the chunks are in 2 parts and i have not done anything like this b4. so can someone guide me. the chunks are here
Code:
POST /index.cfm?fuseaction=login.process HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://www.myspace.com
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Host: secure.myspace.com
Content-Length: 656
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: MSCulture=IP=172.134.46.211&IPCulture=en-IN&PreferredCulture=en-IN&Country=IN&ForcedExpiration=0&timeZone=0&USRLOC=QXJlYUNvZGU9MCZDaXR5PUNhbGN1dHRhJkNvdW50cnlDb2RlPUlOJkNvdW50cnlOYW1lPUluZGlhJkRtYUNvZGU9MCZMYXRpdHVkZT0yMi41Njk3JkxvbmdpdHVkZT04OC4zNjk2JlBvc3RhbENvZGU9JlJlZ2lvbk5hbWU9Mjg%3D&clientTimeZone=13.5; SessionDDF1=52054e5b216fe6d29b978bb45a077e1986b5f36074882682....
__VIEWSTATE=%2FwEPDwUJNTMzMjE3MzI5ZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAgUwY3RsMDAkTWFpbiRTcGxhc2hEaXNwbGF5JGN0bDAwJFJlbWVtYmVyX0NoZWNrYm94BTBjdGwwMCRNYWluJFNwbGFzaERpc3BsYXkkY3RsMDAkTG9naW5fSW1hZ2VCdXR0b24%3D&NextPage=&ctl00%24Main%24SplashDisplay%24ctl00%[email protected]&ctl00%24Main%24SplashDisplay%24ctl00%24Password_Textbox=MYPASSWORD&ctl00%24Main%24SplashDisplay%24ctl00%24nexturl=&ctl00%24Main%24SplashDisplay%24ctl00%24apikey=&ctl00%24Main%24SplashDisplay%24ctl00%24ContainerPage=&ctl00%24Main%24SplashDisplay%24ctl00%24Login_ImageButton.x=32&ctl00%24Main%24SplashDisplay%24ctl00%24Login_ImageButton.y=16
both chunks are send by 1 winsock without expireing the sesson. how can i do that. i really need to get this done asap.
thanks
-
Jan 23rd, 2008, 09:18 AM
#2
Thread Starter
New Member
Re: help sending http packets thru winsock
nobody is going to help me here?
-
Jan 23rd, 2008, 02:49 PM
#3
Re: help sending http packets thru winsock
are trying to do this in vb6? or .NET?
I login to myspace through system.net.httpwebrequest myself
you don't need all the stuff like __VIEWSTATE=% in your POST header, just email=YOUR_EMAIL&password=YOUR_PASSWORD (NOTE: in a http type request you must replace illegal characters with the hex equivalent ( eg: @ becomes %40, this applies to the email & password )
also the host shouldn't be Host: secure.myspace.com it should be Host: login.myspace.com
the UserAgent is normally "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1" i found this to be important in my requests.
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Jan 30th, 2008, 11:08 AM
#4
Thread Starter
New Member
Re: help sending http packets thru winsock
i think i ready mention that on top but im going to do it again. yes its VB6 that im trying this on.
this help is needed not to make a spam program for myspace. i will have the program out here so everyone can see its not spam program. this is a helping tools that let myspace users login and do things faster without having enter there user name and pass everytime they login.
Last edited by newlife; Jan 30th, 2008 at 11:14 AM.
-
Jan 30th, 2008, 12:55 PM
#5
Re: help sending http packets thru winsock
 Originally Posted by newlife
this is a helping tools that let myspace users login and do things faster without having enter there user name and pass everytime they login.
If entering your name and password to too time consuming, then perhaps use of the site should be reconsidered.
How long can it take? 10 seconds?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|