Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 15:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Phbot auto captcha via sbot free?

Discussion on Phbot auto captcha via sbot free? within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2022
Posts: 5
Received Thanks: 5
Phbot auto captcha via sbot free?

Hi everyone.

Im using phbot, i often enter captchar manual. Who can creat a tool, when run phbot, it tool will using sbot free for input captcha auto?

In Vietnam have one person creat it tool, but it paid and have more feature i dont need.

Thanks all.

Demo not show sbot, but i know it using sbot to do this.





I see on sbot folder have 1 file plugin for phbot

How it call sbot and receipt captcha from sbot to phbot.



PHP Code:

from phBot import 
*
import urllib.request
import struct
import json
from threading import Timer

pName 
'AutoCaptcha'
pVersion '1.1.1'

# ______________________________ Initializing ______________________________ #

CAPTCHA_SERVER "http://127.0.0.1:15999"
CAPTCHA_REQUEST_TIMEOUT 15 # seconds
CAPTCHA_LIMIT_REACHED False

# ______________________________ Methods ______________________________ #

# Solve captcha data and return the answer
def SolveCaptcha(url,data):
    
# Try to send packet
    
try:
        
# Prepare json data to be send through POST method
        
params json.dumps({"data":''.join('{:02X}'.format(d) for d in data)}).encode()
        
# Send request and wait maximum 5 seconds
        
if not url.endswith("/"):
            
url += "/"
        
req urllib.request.Request(url+"CaptchaAPI",data=params,headers={'content-type''application/json'})
        
with urllib.request.urlopen(req,timeout=CAPTCHA_REQUEST_TIMEOUT) as f:
            try:
                
resp json.loads(f.read().decode())
                if 
resp:
                    if 
resp['success']:
                        return 
resp['captcha']
                    else:
                        
log("Plugin: Error solving captcha ["+resp['message']+"]")
            
except Exception as ex2:
                
log("Plugin: Error reading response from server ["+str(ex2)+"]")
    
except Exception as ex:
        
log("Plugin: Url error ["+str(ex)+"]")
    return 
None

# ______________________________ Events ______________________________ #

# Called when the bot successfully connects to the game server
def connected():
    global 
CAPTCHA_LIMIT_REACHED
    CAPTCHA_LIMIT_REACHED 
False

# All packets received from game server will be passed to this function
# Returning True will keep the packet and False will not forward it to the game client
def handle_joymax(opcodedata):
    global 
CAPTCHA_LIMIT_REACHED
    
# SERVER_CAPTCHA_SOLVE_RESPONSE
    
if opcode == 0xA323:
        
# Check if errors on attempt
        
if data[0] == 2:
            
attemptsMax struct.unpack_from('<I',data,1)[0]
            
attemptsCount struct.unpack_from('<I',data,5)[0]
            
# Check if limit has been reached
            
if (attemptsCount+1) == attemptsMax:
                
CAPTCHA_LIMIT_REACHED True
    
# SERVER_CAPTCHA_DATA
    
if opcode == 0x2322:
        if 
CAPTCHA_LIMIT_REACHED:
            
log('Plugin: Captcha cannot be automatically solved for your own security!')
        else:
            
log("Plugin: Solving captcha through ["+CAPTCHA_SERVER+"]")
            
# Solving captcha with global values
            
def ThreadSolvingCaptcha():
                
response SolveCaptcha(CAPTCHA_SERVER,data)
                if 
response:
                    
log("Plugin: Captcha solved ["+response+"]...")
                    
# Create packet solving it
                    
struct.pack('H'len(response))
                    
+= response.encode('ascii')
                    
inject_joymax(0x6323,p,False)
            
# Run new thread to avoid locking the bot
            
Timer(0.001,ThreadSolvingCaptcha).start()
    return 
True

# Plugin loading ...
log('Plugin: '+pName+' v'+pVersion+' successfully loaded'
thinhtd is offline  
Thanks
1 User
Old 02/28/2023, 14:10   #2
 
elite*gold: 0
Join Date: May 2022
Posts: 5
Received Thanks: 5

this video demo
thinhtd is offline  
Old 04/01/2023, 14:51   #3
 
elite*gold: 0
Join Date: Nov 2020
Posts: 15
Received Thanks: 2
password?
zizoelbardan is offline  
Old 06/07/2023, 07:51   #4
 
elite*gold: 0
Join Date: Aug 2020
Posts: 7
Received Thanks: 2
how?
ianjason123 is offline  
Reply


Similar Threads Similar Threads
phBot Manager , fully managing for phBot
08/26/2023 - SRO Hacks, Bots, Cheats & Exploits - 89 Replies
phBot Manager never connect to internet supports iSRO and rSRO download it only from here or Official Site www.phbot-manager.com phBot Manager 2.8 for phBot v10.4.3 * Updated for phBot v10.4.3
[BOTJOLT.COM] Torn Bot - Auto-Gym,Captcha Solver, Auto-Crime,Auto-Dump, Auto-Stocks
06/20/2022 - Browsergames - 3 Replies
Auto-Gym,Captcha-Solver,Auto-Crime,Auto-Dump,Auto- Stocks and more comming soon! BotJolt - Bot for torn https://botjolt.com/panel/mlogo.png Introduction: Our bot is quite new, its still on its 0.0.3beta version, we are accepting suggestions for new features and improvements. We have an official discord from which you can participate on its bot development with suggestions, there is also a support system into our website when you create an account. Youtube preview:...
WTB SBOT SBOT SBOT
07/13/2009 - Silkroad Online Trading - 1 Replies
I REALLY NEED SBOT [email protected] can trade for ecsro account or money just say what u want seeya



All times are GMT +1. The time now is 15:05.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.