Giter Club home page Giter Club logo

vhackxtbot-python's Introduction

vHackXTBot-Python

vHackXT Bot written in Python 2.7.

Discord GITHUB issue TRAVIS CI

DiscordBig

Thanx to FluffySteamCat who recorded the bot

vHackBot video here vHackBot video here vHackBot video here vHackBot video here

[Linux version . . . Windows Version and Android version for vHackXT ]

Official Database OlympicCode thanx to @checkium .......................

Minimal Configuration required

  • CPU i3, i5, ARM64, 4 thread Minimum or (4 core for amd).
  • Ram 128Mo.
  • OS: Windows 7, Win10, Linux ALL version, Android 4.4 or Higher.
  • Network speed: ADSL Minimal (100ko/s for download).

Function

  • Update your Account Firewall / IPSP / CPU / Ram ect...
  • Remove Spyware if detecting in the account
  • Attack the with botnet
  • Attack for console Target and detect for FBI
  • Help for tournament to get first place
  • Run in Multi-Processing for more stability and fast (Linux) / Windows is scalable
  • Two attack modes, Patator or Secure
  • it's the number 1 bot for vHackXT
  • detected if you are blocked on the api vHackXT and waiting (~5 Minutes)
  • Auto update Botnet
  • Chat resolve cluster name (execute : python chat.py in linux and just run chat.exe for windows)
    (Windows no support all charset in the chat :( )

The app is dev mode.
No return exactly great output thanx

Edit main.py line 17
Replace username and password for your login details.

Linux Exclusive Database and multiprocessing (file database is database.txt in your directory)

External dependencies you'll need include:

  • requests
  • Pillow

To install these on Linux:

For centos/redhat

$ pip install requests
$ pip install futures
$ pip install Pillow

Install Pillow on Android 6.x

$ pkg install python python-dev libjpeg-turbo-dev ndk-sysroot clang
$ python -m pip install wheel
$ LDFLAGS="-L/system/lib/" CFLAGS="-I/data/data/com.termux/files/usr/include/" python -m pip install pillow
$ python -m pip install request
$ python -m pip install futures

start for Android 6.x

$ python main.py

Install Pillow on Android 7.x

$ pkg install python python2-dev libjpeg-turbo-dev ndk-sysroot clang
$ python2 -m pip install wheel
$ LDFLAGS="-L/system/lib/" CFLAGS="-I/data/data/com.termux/files/usr/include/" python2 -m pip install pillow
$ python2 -m pip install request
$ python2 -m pip install futures

start for 7.x

$ python2 main.py

You can find installation scripts at vHackBot-Install

New Mode Available !
"Potator" or "Secure" on line 39 in main.py (edit line)

Potator

Potator mode It will not examine firewall or stealth mode it will attack anything
that can with any criteria perfect for tournaments

Secure

Protects against attack back or you tell yourself  
the least to secure it verifying that you are

Result:

donation for the project Donation for project

Thanx to @flatt3rn ;), @WookieNZ, @JasonKhew96

vhackxtbot-python's People

Contributors

atjontv avatar hybridfox avatar itsfolf avatar jasonkhew96 avatar vblackout avatar wookienz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vhackxtbot-python's Issues

Needs Improvements.

The bot isn't using boosters. Although this may not affect low upgrade levels, it is crucial for higher level upgrades.
Daily mission prizes should be collected.
The developer should be hacked once in an hour for maximum prizes.
An improvement towards the cluster function should be added (such as attacking other clusters).

Other than that it is a very good bot which does its job.

p.s, when boosters were working, the bot used to use boosters after each upgrade, so basically wasting a lot of boosters for nothing, instead of after the max upgrades

No modul named urllib2

/data/user/0/org.qpython.qpy3/files/bin/qpython-android5.sh "/storage/emulated/0/qpython/projects3/vHackXTBot-Python-master/main.py" && exit TBot-Python-master/main.py" && exit < Traceback (most recent call last): File "/storage/emulated/0/qpython/projects3/vHackXTBot-Python-master/main.py", line 4, in <module> from console import Console File "/storage/emulated/0/qpython/projects3/vHackXTBot-Python-master/console.py", line 5, in <module> from utils import Utils File "/storage/emulated/0/qpython/projects3/vHackXTBot-Python-master/utils.py", line 7, in <module> import urllib2 ImportError: No module named urllib2

May im total dumb, but the script cnt find urllib2 on android :/h

No such file or directory

Hello, installed all requirements, but I get this error

** Force Mode to 'Potator' for Tournament **
Packing IP list 6
Traceback (most recent call last):
File "main.py", line 139, in
c.attack(attacks_tournament, maxanti_tournament, wait, mode, api)
File "/home/kender/Programs/vHackAPI-Python/console.py", line 374, in attack
data = self.getIP(True, max, mode, api)
File "/home/kender/Programs/vHackAPI-Python/console.py", line 168, in getIP
result, ip = wait_for.result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 405, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/kender/Programs/vHackAPI-Python/console.py", line 95, in calc_img
if "Hatched by the FBI" in pytesseract.image_to_string(image) or "Watched by the FBI" in pytesseract.image_to_string(image):
File "/usr/local/lib/python2.7/dist-packages/pytesseract/pytesseract.py", line 161, in image_to_string
config=config)
File "/usr/local/lib/python2.7/dist-packages/pytesseract/pytesseract.py", line 94, in run_tesseract
stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

linux error

Traceback (most recent call last):
File "main.py", line 110, in
jsons = json.loads(u.getTasks())
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Upgrade Loop

I'm still getting stuck in upgrade loop on Debian Linux.

having this kind of issue when running.

Help would be appreciated.
Using the latest version of Python.
Windows 10.

Traceback (most recent call last):
File "G:\Media\Compressed\vHackXTBot-Python-master\utils.py", line 92, in md5hash
m.update(txt)
TypeError: Unicode-objects must be encoded before hashing

Edit:
Managed to fix this error, but another pops out:
File "G:\Media\Compressed\vHackXTBot-Python-master\utils.py", line 161, in requestString
except urllib.URLError as e:
AttributeError: module 'urllib' has no attribute 'URLError'

Edit 2: fixed it by adding .error. between the urllib and URLError.
Afterwards, I get this error:

a bytes-like object is required, not 'str'
and loops.

Analysing Botnet

Hello,

It does'nt seem to work with me on windows.
It keeps repeating:

Analysing Configuration... Botnet
Waiting...
Waiting...
Analysing Configuration... Botnet

And so on.

What to do?

Error

Traceback :
File "'main.py' , line 160 in
indexerror: string index out of range

Message on discord

Import PIL | no module named PIL| last version

[root@centos7tpl vHackXTBot-Python]# python main.py
Traceback (most recent call last):
File "main.py", line 4, in
from console import Console
File "/root/vHackXTBot-Python/console.py", line 8, in
from PIL import Image
ImportError: No module named PIL
[root@centos7tpl vHackXTBot-Python]#

Booster

I have the booster at False in Windows version and it still uses the booster.

Windows Bug

Does not work on Windows 7

C:\Users\test\Desktop\vHackAPI-Python-master\vHackAPI-Python-master\Windows>main.exe
your Username : userxyz
Your Password : ********
loading ...C:\Users\test\Desktop\vHackAPI-Python-master\vHackAPI-Python-master\Windows\config.ini
Traceback (most recent call last):
File "main.py", line 156, in
IndexError: string index out of range

Bot not starting

/home/vHackXTBot# ./main.py
Traceback (most recent call last):
File "./main.py", line 146, in
r = run()
File "./main.py", line 43, in init
self.b = Botnet(self.player)
File "/home/vHackXTBot/botnet.py", line 21, in init
self._initbot()
File "/home/vHackXTBot/botnet.py", line 34, in _initbot
bot = Bot(i['bID'], i['bLVL'], i['bPRICE'], self.username, self.password, self.uhash)
KeyError: 'bID'

Linux Bug Report

analyse configuration... botnet
No money to update Botnet #4
No money to update Botnet #5
No money to update Botnet #6
No money to update Botnet #7
No money to update Botnet #8
Update Botnet 9 level : 2
No money to update Botnet #9
Waiting... in normal 2.03s
Traceback (most recent call last):
File "./main.py", line 206, in
c.attack(attacks_normal, maxanti_normal, wait_load, mode, api, active_cluster_protection)
File "/home/deadlybynite/Git/vHackAPI-Python/console.py", line 396, in attack
data = self.getIP(True, max, mode, api, active_protecte_cluster_ddos)
File "/home/deadlybynite/Git/vHackAPI-Python/console.py", line 168, in getIP
if stat_cluter_blocked == stat_cluster['blocked']:
TypeError: 'int' object has no attribute 'getitem'

Linux Error

python main.py
best list for tournament :
Traceback (most recent call last):
File "main.py", line 254, in
if "DDoS not ready" in checkcluster["ddosready"] and test == "no":
TypeError: 'int' object has no attribute 'getitem'

If I change line 28 in main.py from active_cluster_protection = True to active_cluster_protection = False I get the exact same error, but when I change line 50 in main.py from ddos_cluster = True to ddos_cluster = False I get this error

python main.py
analysing configuration... botnet
updating ipsp level +1
Waiting... in update
Packing IP list 6
Traceback (most recent call last):
File "main.py", line 390, in
c.attack(attacks_normal, maxanti_normal, wait_load, mode, api, active_cluster_protection)
File "/home/deadlybynite/Git/vHackAPI-Python/console.py", line 404, in attack
data = self.getIP(True, max, mode, api, active_protecte_cluster_ddos)
File "/home/deadlybynite/Git/vHackAPI-Python/console.py", line 196, in getIP
wait_for = executor.submit(self.calc_img, ut, list_image[i], uhash, list_hostname[i], max, mode, api)
NameError: global name 'ut' is not defined

I've tried changing both lines to false since I am not in a cluster, but either way, I keep getting an error. I'm not currently in a cluster, and I believe I need to change some things inside main.py, but not sure what.
Any help is greatly appreciated!

Invalid Character issue

Error message:

SyntaxError : invalid character in identifier

Line 31, (string)
    def init(self):

windows problem

when i enter the username and the password it write:

"Traceback (most recent call last):
File "main.py", line 159 in
File "json_init__.pyc", line 339, in loads
File "json\decoder.pyc", line 364, in decode
File "json\decoder.pyc", line 382, in raw_decode
ValueError: No JSON object could be decoded

Problem with Linux/Windows

File "C:\Users\424678965rgc\Desktop\vHackAPI-Python-master\main.py", line 376, i
n
json_data = json.loads(myinfo)
File "C:\Python27\lib\jsoninit.py", line 338, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer

Botnet Bug

System

Raspbian 9 GNU/Linux
Python 2.x

Traceback

Traceback (most recent call last):
  File "/home/pi/vhack-bot/main.py", line 160, in <module>
    r = run()
  File "/home/pi/vhack-bot/main.py", line 48, in init
    self.init()
  File "/home/pi/vhack-bot/main.py", line 105, in init
    self.b.upgradebotnet(i['hostname'], int(i['running']), count)
  File "/home/pi/vhack-bot/botnet.py", line 133, in upgradebotnet
    if int(get_infobot['data'][count][unicode(self.ofwhat[i-remove])]) == int(maxofwhat):
IndexError: list index out of range

Info
I will fix that bug as soon as I'm at home .. I know how to fix it!

Traceback Error

Traceback (most recent call last):
File "./main.py", line 132, in
r = run()
File "./main.py", line 39, in init
self.init()
File "./main.py", line 128, in init
self.c.attack(self)
File "/root/vHackXTBot-Python-add-license-1/console.py", line 469, in attack
self.getIP(True, obj.maxanti_normal, obj.mode, obj.active_cluster_protection)
File "/root/vHackXTBot-Python-add-license-1/console.py", line 230, in getIP
result, ip = wait_for.result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/_base.py", line 429, in result
return self.__get_result()
File "/usr/local/lib/python2.7/dist-packages/concurrent/futures/thread.py", line 62, in run
result = self.fn(*self.args, **self.kwargs)
File "/root/vHackXTBot-Python-add-license-1/console.py", line 169, in calc_img
result = self.attackIP(jsons['ipaddress'], mode)
File "/root/vHackXTBot-Python-add-license-1/console.py", line 436, in attackIP
ipsplevel) + "&FW=" + str(fwlevel) + "&AV=" + str(avlevel))
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='vhack.olympiccode.ga', port=443): Max retries exceeded with url: /database/submit.php?IP=78.231.4.40&USR=???&MONEY=???&IPSP=4160&FW=4272&AV=4444 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f48995450>: Failed to establish a new connection: [Errno 110] Connection timed out',))

botnet update faild

hi
botnet update only say faild!

logger.error("Upgrades on " + hostname + " Failed !")

Why API?

So... this is not really an API.. The README says this too
Can you please rename this into "vHackBot-Python"?

not working

Win - short text "Traceback ( most recent ................"

What to do to fix this problem ?

Bot still not working

Traceback (most recent call last):
File "./main.py", line 147, in
r = run()
File "./main.py", line 47, in init
self.init()
File "./main.py", line 105, in init
number_botnet = json.loads(self.b._botnetInfo())
AttributeError: run instance has no attribute 'b'

Traceback Error

Traceback (most recent call last):
File "B:\vHackXTBot-Python-master\main.py", line 154, in
r = run()
File "B:\vHackXTBot-Python-master\main.py", line 46, in init
self.init()
File "B:\vHackXTBot-Python-master\main.py", line 104, in init
self.b.upgradebotnet(i['hostname'], int(i['running']), count)
File "B:\vHackXTBot-Python-master\botnet.py", line 108, in upgradebotnet
new_bal = self.upgradesinglebot(hostname, ofwhat)
File "B:\vHackXTBot-Python-master\botnet.py", line 147, in upgradesinglebot
jsons = json.loads(response)
File "C:\Python27\lib\json_init_.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 367, in decode
raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 1160 - line 1 column 1161 (char 1159 - 1160)

Windows cannot find the file specified Traceback Please resolve

Traceback (most recent call last):
File "F:\vhack\main.py", line 78, in
r = run()
File "F:\vhack\main.py", line 37, in init
self.init()
File "F:\vhack\main.py", line 76, in init
self.c.attack(self)
File "F:\vhack\console.py", line 473, in attack
data = self.getIP(True, obj.maxanti_normal, obj.mode, obj.active_cluster_protection)
File "F:\vhack\console.py", line 226, in getIP
result, ip = wait_for.result()
File "C:\Python27\lib\site-packages\concurrent\futures_base.py", line 429, in result
return self.__get_result()
File "C:\Python27\lib\site-packages\concurrent\futures\thread.py", line 62, in run
result = self.fn(*self.args, **self.kwargs)
File "F:\vhack\console.py", line 138, in calc_img
image) or "Watched by the FBI" in pytesseract.image_to_string(image):
File "C:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 122, in image_to_string
config=config)
File "C:\Python27\lib\site-packages\pytesseract\pytesseract.py", line 46, in run_tesseract
proc = subprocess.Popen(command, stderr=subprocess.PIPE)
File "C:\Python27\lib\subprocess.py", line 390, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 640, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Bot Crash (BotNet Update)

I was running the bot for 11hrs and now i created a bot net and after i created it i saw that the bot didnt work, i logged into the terminal and i got the same error as below (i cleared the terminal and restarted the bot)

screenshot from 2017-12-29 14 19 46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.