|
Post by MikiSoft on Sept 10, 2015 19:59:39 GMT
A simple bot for: 10khits.comUsage: Copy your surfing link(s) and paste it/them when running the bot. Edit by dbzdivik: Make Sure to Pause Bot Time to Time to avoid point/account loss. Attachments:10khits.ini (468 B)
|
|
xwang
Power Member
Posts: 42
Likes: 5
|
Post by xwang on Sept 22, 2015 6:09:13 GMT
10khits changes surf link as they can detect it maybe its making requests too fast.
|
|
|
Post by MikiSoft on Sept 22, 2015 11:00:30 GMT
If you're correct then it has to be reconfigured to automatically grab the surfing link. You could also fix that (by looking how other bots are made), it's not hard. That's how you learn.
|
|
xwang
Power Member
Posts: 42
Likes: 5
|
Post by xwang on Sept 22, 2015 14:00:32 GMT
Bug found: Cant extract wait seconds setting it to 20 solves it. If you want to make it easy replace [inp] with email,username,pass like to make it 100% auto like this strings=1,1,1,0:"urls","[inp]" is to strings=1,1,1,0:"urls","http://exc.10khits.com/surflink"
10Khits new config
;UniBot configuration file
[10KHits surf bot - by MikiSoft] strings=1,1,1,0:"urls","[inp]"
[2] url=%url% strings=0,1,0,0:"wait","rg('[src]','id=""timer"" value=""(.*?)""','$1')";0,1,0,0:"url","%urls%";0,0,0,1:"output","Account %i%: Waiting %wait% seconds...[nl]";0,1,0,0:"i","'[cind]'+1" goto=5
[3] url=%url% strings=0,1,0,0:"wait","rg('[src]','id=""timer"" value=""(.*?)""','$1')";0,0,0,1:"output","Account %i%: Waiting %wait% seconds...[nl]"
[4] wait=20 goto=4
|
|
|
Post by MikiSoft on Sept 22, 2015 14:53:13 GMT
This is nice, just keep up with your progress! The next thing to do is to fix the actual extraction of wait seconds, so go and study Regex from tutorials that you can find here. By the way, I would suggest you to always wrap the content of the config file with [ code] tag, or you can just upload it.
|
|
xwang
Power Member
Posts: 42
Likes: 5
|
Post by xwang on Sept 23, 2015 12:28:55 GMT
Coundn't get past this.How to extract time(value) from this.
<input id="d3cb5e64ad0de992337fa7f480e91b1a" value="10" size="2" readonly="" style="border:none;background:transparent;width:18px;text-align:center" type="text">
I think you should be able to extract that as you created the bot.
|
|
|
Post by MikiSoft on Sept 23, 2015 12:31:39 GMT
Everyone is able to extract with little practice. I think that input ID is always different (ie. dynamic) so we can't rely on that, something like this Regex command would help, which extract part of JavaScript on the surfing page: rg('[src]','var timer=(.*?);','$1')
|
|
xwang
Power Member
Posts: 42
Likes: 5
|
Post by xwang on Sept 23, 2015 12:37:05 GMT
Working now thnks
Update it
;UniBot configuration file
[10KHits surf bot - by MikiSoft]
strings=1,1,1,0:"urls","[inp]"
[2] url=%url% strings=0,1,0,0:"wait","rg('[src]','var timer=(.*?);','$1')";0,1,0,0:"url","%urls%";0,0,0,1:"output","Account %i%: Waiting %wait% seconds...[nl]";0,1,0,0:"i","'[cind]'+1" goto=5
[3] url=%url% strings=0,1,0,0:"wait","rg('[src]','var timer=(.*?);','$1')";0,0,0,1:"output","Account %i%: Waiting %wait% seconds...[nl]"
[4] wait=%wait% goto=4
|
|
|
Post by MikiSoft on Sept 23, 2015 12:44:52 GMT
Done. Btw. It's not wait=%wait% but wait="%wait%".
|
|
jeffn
Regular Member
Posts: 14
Likes: 0
|
Post by jeffn on Feb 1, 2016 10:10:21 GMT
can you update bot ?
|
|
chebkimo
Regular Member
Posts: 13
Likes: 3
|
Post by chebkimo on Feb 1, 2016 12:54:20 GMT
how can i extract the token= exc.10khits.com/surf?id=154768&token=748403ee1805af45bdf54f5abdcea0c8i try token=(.*?); but not work can you explain how and thx ;UniBot configuration file [1] url=https://www.10khits.com/ strings=0,1,0,0:"php","rg('[src]','PHPSESSID=(.*?);')" headers="User-Agent","Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0";"Accept","text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" [2] url=https://www.10khits.com/login post=csrf_token=8f14e45fceea167a5a36dedd4bea2543&form=sent&login=1&email=%email%&passwd=%pass% strings=0,1,0,0:"email","[inp]";0,1,0,0:"pass","[inp]" headers="User-Agent","Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0";"Accept","text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";"Cookie","%php%" [3] url=https://www.10khits.com/dashboard/surf/sessions strings="tok","[build]" headers="User-Agent","Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0";"Accept","text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";"Cookie","%php%" [4] url=http://exc.10khits.com/surf?id=154768&token=748403ee1805af45bdf54f5abdcea0c8 strings=0,1,0,0:"time","rg('[src]','value=""(.*?)""';'$1')";0,0,0,1:"msg","'Wait for' %time%[nl]" headers="User-Agent","Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0";"Accept","text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";"Cookie","%php%" wait="%time%" goto=5 [5]
|
|
|
Post by MikiSoft on Feb 1, 2016 13:31:10 GMT
jeffn: There is no need for update as the config is still working (I've tested it right now). If it's not working for you then download the latest one from here. chebkimo: You're on the right track, now follow the video tutorial or read about making functional configs in the 'Official guides' thread, or examine the thread about Regex so you could see how to extract a token value for %tok% string (on 3rd index) which you will call in 4th index in the place where's the value of token (URL) parameter. Also please mind to wrap the config file contents with [CODE] tag, thanks.
|
|
chebkimo
Regular Member
Posts: 13
Likes: 3
|
Post by chebkimo on Feb 1, 2016 16:50:32 GMT
MikiSoft i try to get the token value but i can't can you give me the Regex extract to see how is it
|
|
|
Post by MikiSoft on Feb 1, 2016 16:54:28 GMT
Can you describe how you are trying to get it so I could point you out where you were wrong? You can really find plenty of examples here for creating Regex, so I'm not going to give you all served anymore.
|
|
chebkimo
Regular Member
Posts: 13
Likes: 3
|
Post by chebkimo on Feb 1, 2016 20:49:48 GMT
MikiSoft i try this but not work and Sorry to all these questions
|
|