Jump to content
UBot Underground

Fake voting bot with sending headers


Recommended Posts

I m trying to code a fake voting bot. I tryed a normal way to go to site click vote and then repeat that with clearing cookies and swotching proxy. It is not working. It is so slow and it just dont work.

 

So i foudn this:

 

 

If going the httpwebrequest route. Fireup liveheaders and have a look at the headers. You will see, the vote up is a ajax post call, so you'll need to send the headers in the correct format. By a quick look you just need to get the merchantID and the couponID, should be a simple scrape.

Then as you say, just loop through a list of proxies, switching up the useragent then call your routine to fire the voteup.

http://www.retailmenot.com/ajax/vote.php
id=#prodid#
site=#merchid#
vote=Y
userFlashVersion=iISNJx8GiP

You'd have test the userFlashVersion, perhaps it isn't required, perhaps it could get you caught, perhaps it could be any value.

From thsi site: http://thebot.net/threads/help-how-to-vote-on-retailmenot-com.127539/

 

Any idea if this can be done with ubot? How do i send headers to that url? Can you give me example code, thanks.

Link to post
Share on other sites

Ok thanks.

I used fiddler and found out that i send this url:

http://b.retailmenot.com/__wsm.gif?wsme=vote&id=6062351&site=rmn&vote=Y&position=modal&score=100&rank=1.00&co_gl=&s_act=wsm-rmn-www-prod&page=%2Fcoupons%2Fmusicalinstruments&pg_d=ctc&chan=%2Fcoupons%2F&serv=www.retailmenot.com&pg_t=&impr=3507535%3Actgy%2C4712372%3Actgy%2C4091167%3Actgy%2C3869657%3Actgy%2C3869682%3Actgy%2C3296698%3Actgy%2C6039849%3Actgy%2C3848138%3Actgy%2C2876215%3Actgy%2C5576620%3Actgy%2C6062351%3Actgy%2C5795453%3Actgy%2C5887417%3Actgy%2C4046617%3Actgy%2C4541280%3Actgy%2C3441785%3Actgy%2C2664779%3Actgy%2C5938831%3Actgy%2C5850399%3Actgy%2C6309439%3Actgy%2C6164348%3Actgy%2C5356466%3Actgy%2C5309070%3Actgy%2C6109488%3Actgy%2C6129751%3Actgy%2C6062351%3Ared&fruit=as_em_sets%2Cas_news%2Cctrl_srvy%2Cds_cqmsct%2Cds_xrmnct%2Chomebfmod%2Crmn_stat&veg=display_service&veg_vw=control&veg_cw=control&veg_cr=control&g=&opmz=&topsites=false&rca_m=false&btc_cat=musicalinstruments2&v_id=I2S0r4TcGj&path=%2Fcoupons%2Fmusicalinstruments&lang=en-US&pg_cp=26&camp=null%7Cnull%7Cnull%7Cnull%7Cnull%7Cnull&p_li=not+logged+in&pg_l=-1415376118536&navigationStart=1415376118536&unloadEventStart=0&unloadEventEnd=0&redirectStart=1415376118536&redirectEnd=1415376118536&fetchStart=1415376118536&domainLookupStart=1415376118536&domainLookupEnd=1415376118536&connectStart=1415376118536&connectEnd=1415376118536&requestStart=1415376118536&responseStart=1415376118536&responseEnd=1415376118536&domLoading=0&domInteractive=0&domContentLoadedEventStart=0&domContentLoadedEventEnd=0&domComplete=0&loadEventStart=0&loadEventEnd=0

So, do i need to send this like this:

                plugin command("HTTP post.dll", "http headers", "http://www.retailmenot.com/coupons/musicalinstruments?c=3296698", &headers)
                plugin command("HTTP post.dll", "http set headers", "X-Requested-With:", "XMLHttpRequest")
                set(#setti, $plugin function("HTTP post.dll", "$http post", "http://www.retailmenot.com/ajax/vote.php", "http://b.retailmenot.com/__wsm.gif?wsme=vote&id=3296698&site=rmn&vote=Y&position=modal&score=100&rank=1.00&co_gl=&s_act=wsm-rmn-www-prod&page=%2Fcoupons%2Fmusicalinstruments&pg_d=ctc&chan=%2Fcoupons%2F&serv=www.retailmenot.com&pg_t=&impr=3507535%3Actgy%2C4712372%3Actgy%2C4091167%3Actgy%2C3869657%3Actgy%2C3869682%3Actgy%2C3296698%3Actgy%2C6039849%3Actgy%2C3848138%3Actgy%2C2876215%3Actgy%2C5576620%3Actgy%2C6062351%3Actgy%2C5795453%3Actgy%2C5887417%3Actgy%2C4046617%3Actgy%2C4541280%3Actgy%2C3441785%3Actgy%2C2664779%3Actgy%2C5938831%3Actgy%2C5850399%3Actgy%2C6309439%3Actgy%2C6164348%3Actgy%2C5356466%3Actgy%2C5309070%3Actgy%2C6109488%3Actgy%2C6129751%3Actgy%2C5795453%3Ared&fruit=as_em_sets%2Cas_news%2Cctrl_srvy%2Cds_cqmsct%2Cds_xrmnct%2Chomebfmod%2Crmn_stat&veg=display_service&veg_vw=control&veg_cw=control&veg_cr=control&g=&opmz=&topsites=false&rca_m=false&btc_cat=musicalinstruments1&v_id=I2S0r4TcGj&path=%2Fcoupons%2Fmusicalinstruments&lang=en-US&pg_cp=26&camp=null%7Cnull%7Cnull%7Cnull%7Cnull%7Cnull&p_li=not+logged+in&pg_l=1094&navigationStart=1415375418431&unloadEventStart=1415375418731&unloadEventEnd=1415375418731&redirectStart=1415375418431&redirectEnd=1415375418431&fetchStart=1415375418431&domainLookupStart=1415375418431&domainLookupEnd=1415375418431&connectStart=1415375418431&connectEnd=1415375418431&requestStart=1415375418433&responseStart=1415375418726&responseEnd=1415375418726&domLoading=1415375418731&domInteractive=1415375419378&domContentLoadedEventStart=1415375419385&domContentLoadedEventEnd=1415375419385&domComplete=1415375419525&loadEventStart=1415375419525&loadEventEnd=1415375419525", "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19.1", "http://www.retailmenot.com/coupons/musicalinstruments?c=3296698", "", ""), "Global")
               

If that is the case, then huh, how can i cut out that long url? Or in other words how will i replicate this without fiddler, haha

Link to post
Share on other sites

Yes i like the tool, but i m kind of short with my money. And i was having my eyes on regex builder tool as well.

 

But main problem is that both of this tools will probably do a good job, but also i would not learn anything. I m now trying and testing stuff and i m getting closer. I found out what headers i need tos end now i just need to figure out how to set this headers inside ubot?

 

Do i use http container and set headers?

And this code i think is not working:

plugin command("HTTP post.dll", "http set headers", "X-Requested-With:", "XMLHttpRequest")
Link to post
Share on other sites

And i was having my eyes on regex builder tool as well.

 

If you're short on money, learn regex from here, that's where I started myself and I feel it gave me a great foundation:

 

http://regexhero.net/videos/

 

And you can also use the regex tester to build your regex (you can even do benchmark tests to optimize your regex):

 

http://regexhero.net/tester/

 

I purchased this as it helps me a lot with my regex stuff, but you can also use it for free.

  • Like 1
Link to post
Share on other sites

Hi, yea regex is something u should learn. And i m doing this, i love watching videos so i really thank you for this links.

 

Now about making a bot for this fake voting.

 

It looks like i bite the more than i can eat. A guy wanting this pays only 50$ and i was fine with that because i was thinking to make a loop and cookies and navigate and proxys and stuff required to send and fake, but that didnt work. So i said, ok, i go with sending headers and http post. But ohhh boy how i was wrong. This is not easy. I did replicate my headers and i send everything that is required BUT there are few bugs i need to fix and i think that this fake voting is not working because i cant set cookies. There is a cookie i get from coupon page that is different from cookie you get from sending to ajax/vote.php And that why i m stuck and probably will give up on this one, sadly. I actually never give up, but i think my knowledge here is way too limited.

Link to post
Share on other sites
  • 1 month later...

Well this retailmenot project was busted since i failed to create it. I really hate to fail at something that is of high interest to me. So i m reviwing this by saying that i just created almost a same bot, but this bot just send two parameters to voting server and it works like a baby.

 

So whats going on with that retailmenot, is it maybe because it use https protocol?

While we are also debating how do u send fake visitors to youtube?

I know many people that can send fake visitors to youtube, is it done with some other tool or ubotstudio cna send it too?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...