Jump to content

Recommended Posts

Posted

Hey.

So, I was playing on a server on which you could get rewards for voting on them in some sites.

The thing is... how will they know you voted on 'em to give you points to then trade for rewards?

Well, they don't. Once you click in the shortcut on their website, you'll get the point, no need to vote.

This server used "L2 Account ZS - by zdark" as accounting manager and voting/rewarding manager.

I know I could've wrote it in C or Delphi but I felt lazy. I've made a perl version but it's harder to use.

So I just used mIRC instead. Yes, it's a mIRC script, you must have it running in order to leave it running.

Since I almost never turn off my pc, I just leave it on and voting... You can vote from 12 to 12 hours, the script does that.

Also, you can vote 4 times (in my case).

I will post this because I quit this server and probably will be quitting L2 (for what, the 5th time) for a while.

This has been made for Frintezza server, feel free to edit it to your own purposes and maybe to other systems with rewarding.

This has been done using a sniffer (Network Chemistry Packtyzer 5.0), mIRC and some knowledge of HTTP and sockets.

Change the YOURACCOUNT on the script. I know, I could've made a constant for that but I felt lazy, since it has been made for myself. You have to change it in 3 different places.

 

How to use:

Install mIRC - download here

After that, open the "script editor" (it's a "/a" green icon in the toolbar) and go to Remote tab.

Paste the script in there, click OK.

Type /vote and wait a little.

Maybe you will have to be online on irc in any server, I'm not sure.

Wait for the messages of voting...

Check if you increased your voting points.

 

Obs: If you have more than one computer and they have different IP addresses, you may run in multiple PCs. So if you can vote 4 times every 12 hours to get 4 points, you then get 8 points every 12 hours, with two voting machines... and so on.

 

Own experience: I had 3 voting machines. Bought a few hats and enchants with votes. For low rate servers, this must be godly. For that reason, I consider this an exploit, even though it's not any ingame exploit, it makes you get items.

 

Have fun using it.

 

;v4

alias fz { sockclose frintezza | .timer -o 1 3 sockopen frintezza account.frintezza.com 80 }

alias fzend { echo -a $timestamp %fzs Closing remaining sockets... done! }

alias vote { 
  .sockclose frintezza
  .sockclose getfrintezza
  .sockclose cookiefz
  .sockclose fakevote
  .set %fzs [FZ] 
  .sockopen cookiefz account.frintezza.com 80
  .timer -o 1 $rand(5,8) .sockopen getfrintezza account.frintezza.com 80
  .set %fz 2
  .timer -o 1 $rand(10,20) .fz
  .timer -o 1 $rand(30,40) .fz 
  .timer -o 1 $rand(50,60) .fz 
  .timer -o 1 $rand(70,80) .fz
  .timer -o 1 $rand(100,110) sockclose getfrintezza
  .timer -o 1 110 fzend
  .timer -o 1 44000 vote
}

alias urlencode {
  var %a = $regsubex($$1,/([^\w\s])/Sg,$+(%,$base($asc(\t),10,16,2)))
  return $replace(%a,$chr(32),$chr(43))
}

on *:sockopen:getfrintezza:{ 
  sockwrite -n $sockname GET /vote/?id=YOURACCOUNT HTTP/1.1
  sockwrite -n $sockname Host: account.frintezza.com
  sockwrite -n $sockname User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
  sockwrite -n $sockname Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  sockwrite -n $sockname Accept-Language: en-us,en;q=0.5
  sockwrite -n $sockname Accept-Encoding: gzip,deflate
  sockwrite -n $sockname Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  sockwrite -n $sockname Keep-Alive: 300
  sockwrite -n $sockname Connection: keep-alive

  ; Cookie verify
  if ($exists(fz_cookie.txt)) {
    var %n = 1, %cookie
    while ($read(fz_cookie.txt,%n)) {
      ; Seperate the cookies with ';'
      %cookie = $+(%cookie,$v1,;)
      inc %n
    }
    ; Sending the cookie
    sockwrite -n $sockname Cookie: %cookie
  } 
  sockwrite -n $sockname $crlf
}

on *:sockopen:frintezza:{ 
  var %string account= $+ $urlencode(YOURACCOUNT) $+ &x= $+ $urlencode($rand(10,60)) $+ &y= $+ $urlencode($rand(10,40))
  var %sk sockwrite -n $sockname
  if (%fz > 5) { echo -a [ $+ $asctime(hh:nn:ss) $+ ] %fzs Vote $+ %vt $+ .php doesn't exist! Error! Halting... | halt }
  %sk POST /vote/vote $+ %fz $+ .php HTTP/1.1
  %sk Host: account.frintezza.com
  %sk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
  %sk Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  %sk Accept-Language: en-us,en;q=0.5
  %sk Accept-Encoding: gzip,deflate
  %sk Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  %sk Keep-Alive: 300
  %sk Connection: keep-alive
  %sk Referer: http://account.frintezza.com/vote/?id=YOURACCOUNT

  ; Cookie verify
  if ($exists(fz_cookie.txt)) {
    var %n = 1, %cookie
    while ($read(fz_cookie.txt,%n)) {
      ; Seperate the cookies with ';'
      %cookie = $+(%cookie,$v1,;)
      inc %n
    }
    ; Sending the cookie
    %sk Cookie: %cookie
  } 

  ;Force connection close:   sockwrite -n $sockname Connection: close
  %sk Content-Type: application/x-www-form-urlencoded
  %sk Content-Length: $calc($len(%string)+1)
  %sk $crlf %string
  ;vote2, 3, 4 e 5
  if (%fz == 2) { var %vt lineage2.top100arena.com }
  if (%fz == 3) { var %vt www.xtremetop100.com }
  if (%fz == 4) {  var %vt www.topgamesites.net }
  if (%fz == 5) {  var %vt www.mmorpgtoplist.com }
  echo -a [ $+ $asctime(hh:nn:ss) $+ ] %fzs Voting in %vt (vote $+ %fz $+ .php) $+ ...
  .timer 1 1 sockvote %vt
  inc %fz
}

alias sockvote { sockclose fakevote | sockopen fakevote $1 80 }

on *:sockopen:fakevote:{ 
  if (top100arena isin $1) { var %path /in.asp?id=15088 }
  if (xtremetop100 isin $1) { var %path /in.php?site=1132237733 }
  if (topgamesites.net isin $1) { var %path /lineage2 }
  if (mmorpgtoplist isin $1) { var %path /in.php?site=15217 }
  sockwrite -n $sockname GET %path HTTP/1.1
  sockwrite -n $sockname Host: $1
  sockwrite -n $sockname User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8
  sockwrite -n $sockname Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  sockwrite -n $sockname Accept-Language: en-us,en;q=0.5
  sockwrite -n $sockname Accept-Encoding: gzip,deflate
  sockwrite -n $sockname Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  sockwrite -n $sockname Keep-Alive: 300
  sockwrite -n $sockname Connection: keep-alive
  sockwrite -n $sockname $crlf
}

;grab-cookie
on *:sockopen:cookiefz:{ 
  sockwrite -n $sockname GET /myaccount/ HTTP/1.1
  sockwrite -n $sockname Host: account.frintezza.com
  sockwrite -n $sockname $crlf
}

on *:SOCKREAD:cookiefz:{
  sockread %tmp
  if ($regex(%tmp,/^Set-Cookie: (.+?)=(.+?);/i)) {
    ; We found a cookie, let's store it
    echo -a [ $+ $asctime(hh:nn:ss) $+ ] %fzs New cookie found!
    if ($read(fz_cookie.txt, w, $regml(1) $+ =*)) {
      ; Cookie already exists, overwriting...
      echo -a [ $+ $asctime(hh:nn:ss) $+ ] %fzs Replacing old cookie with new one...
      write -l $+ $readn fz_cookie.txt $+($regml(1),=,$regml(2))
    }
    ; else we will just add it to the end
    echo -a [ $+ $asctime(hh:nn:ss) $+ ] %fzs Storing new cookie...
    else write fz_cookie.txt $+($regml(1),=,$regml(2))
  }
  sockclose cookiefz
}

Posted

Sockets.

When you open a website, you open a socket to it with your browser.

You can do the same with IRC.

You can even open websites, login on forums, read stuff... even use google, just with sockets.

mIRC is very powerful for a chat program. ;D

Posted

It's always near the url, it's in the id=YOURACCOUNT part of the url...

 

sockwrite -n $sockname GET /vote/?id=YOURACCOUNT HTTP/1.1

var %string account= $+ $urlencode(YOURACCOUNT) $+ &x= $+ $urlencode($rand(10,60)) $+ &y= $+ $urlencode($rand(10,40))

%sk Referer: http://account.frintezza.com/vote/?id=YOURACCOUNT'>http://account.frintezza.com/vote/?id=YOURACCOUNT

 

These are the 3 cases.. use find to make it easier :P

or in the vote command add something like this:

set %accname youraccount

and then change the YOURACCOUNT for:

sockwrite -n $sockname GET /vote/?id= $+ [ %accname ] HTTP/1.1

 

and in this case:

var %string account= $+ $urlencode( $+ [ %accname ] $+ ) $+ &x= $+ $urlencode($rand(10,60)) $+ &y= $+ $urlencode($rand(10,40))

 

And last:

%sk Referer: http://account.frintezza.com/vote/?id= $+ [ %accname ]

 

Too lazy... ;D

 

heh, funny how I contribute and lose my gold membership... plus my karma went poof, nice, really nice.

not like I care anyway... haven't been active lately since I didn't had much to contribute with.

gl hf

Posted

heh, funny how I contribute and lose my gold membership... plus my karma went poof, nice, really nice.

not like I care anyway... haven't been active lately since I didn't had much to contribute with.

gl hf

 

Karma was reseted, you losed you G membership cos you were inactive for way too long xD

 

Any way ty for the info mate.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.



×
×
  • Create New...