samedi 10 janvier 2015

Send AMF packet using HTTPWEBREQUEST C#


Vote count:

0




For learning purpose I figured out to create BOT that adds friends on one of webcam chat websites.


Im using C# and HTTPWEBREQUEST class


On website there is a button that adds user to friends



<li class="friend"><a href="javascript:void(0)">Add Friend</a></li>


I captured packet that is sended to server then that button is clicked



POST (info hided)/amfgateway.php HTTP/1.1Host: (info hided)
Connection: keep-alive
Content-Length: 52
Origin: (info hided)
X-Requested-With: ShockwaveFlash/16.0.0.235
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Content-Type: application/x-amf
Accept: */*
Referer: (info hided)
Accept-Encoding: gzip, deflate
Accept-Language: lt,en-US;q=0.8,en;q=0.6,ru;q=0.4,pl;q=0.2
Cookie: (info hided)

bcAmfService.addFriend /1
Aa$


Content-Type: application/x-amf so I used Fiddler4 AMFparser plugin to check what that binary holds.


IMAGE OF AMF PACKET


Las numbers seen in the picture is user id


So now I can't find information on how to replicate this packet with my C# program


Is this at all posible to do with HTTPWEBREQUEST?



asked 53 secs ago







Send AMF packet using HTTPWEBREQUEST C#

Aucun commentaire:

Enregistrer un commentaire