Giter VIP home page Giter VIP logo

uboat's Introduction

UBoat HTTP

A proof-of-concept HTTP Botnet designed to replicate a full weaponized commercial botnet.

license awesome version

Disclaimer

This project should be used for authorized testing or educational purposes only.

The main objective behind creating this offensive project was to aid security researchers and to enhance the understanding of commercial HTTP loader style botnets. We hope this project helps to contribute to the malware research community and people can develop efficient countermeasures.

Usage of UBoat without prior mutual consistency can be considered as an illegal activity. It is the final user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program.

What is a Botnet ?

https://securityaffairs.co/wordpress/13747/cyber-crime/http-botnets-the-dark-side-of-an-standard-protocol.html

Features

  • Written in C++ with no dependencies.
  • Encrypted C&C communications.
  • Persistence to prevent your control from being lost.
  • Connection redundancy (Uses a fallback server address or domain).
  • DDoS methods (TCP & UDP Flood).
  • Task Creation System (Altering system HWID, Country, IP, OS.System).
  • Remote command execution.
  • Update and uninstall other malware.
  • Download and execute other malware.
  • Active as well as a passive key-logger.
  • Enable Windows RDP.
  • Plugin system for easy feature updates.

Getting started ?

Contributors & Maintainers

Screenshots

License

UBoat is released under the MIT License. See LICENSE file for more details.

uboat's People

Contributors

matricali avatar souhardya avatar tuhinshubhra 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  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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uboat's Issues

Panel showing only two bots

I just setup the panel and bots and everything seems to be working fine except for the panel, I tried to run the bot in multiple virtual machines but the panel only shows 2 instance of bot on the panel regardless of their status. Here is a screenshot of it: https://imgur.com/QEt1IT7

What theme was used?

Can you send me the link to the theme so i can look or original code and documentation to make it look better for us all

Access denied for user 'root'@'localhost' (using password: YES)

Hi,
I'm using WAMP server PHP 7.0.10
Can't log in into Panel, keep receiving following error:
Have replaced the hash generated by test.php in "user" table for root

( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp64\www\uboat\vendor\model.php on line 10

1 | 0.0014 | 374096 | {main}( ) | ...\index.php:0
2 | 0.0089 | 434256 | goat->__construct( ) | ...\index.php:22
3 | 0.0117 | 451984 | Login->index( ) | ...\goat.php:90
4 | 0.0125 | 471664 | Controller->loadModel( ) | ...\login.php:30
5 | 0.0134 | 481680 | Model->__construct( ) | ...\controller.php:48
6 | 0.0134 | 482040 | __construct ( ) | ...\model.php:10

this problems from different VS versions?

i have VS 2012

1>------ Build started: Project: boat, Configuration: Debug Win32 ------
1>Project file contains ToolsVersion="14.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
1> xor.cpp
1> WebsiteChecker.cpp
1> WebSafeEncryption.cpp
1> URLEncoding.cpp
1> StringOperations.cpp
1> Startup.cpp
1> Sockets.cpp
1> SocketInit.cpp
1> Screenshot.cpp
1>c:\users\root\desktop\uboat-master\boat\screenshot.cpp(71): warning C4101: 'dwTotal' : unreferenced local variable
1>c:\users\root\desktop\uboat-master\boat\screenshot.cpp(76): warning C4101: 'dwTmp' : unreferenced local variable
1>c:\users\root\desktop\uboat-master\boat\screenshot.cpp(74): warning C4101: 'hp' : unreferenced local variable
1> Processes.cpp
1>c:\users\root\desktop\uboat-master\boat\processes.cpp(45): warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
1> PEIsAdmin.cpp
1>c:\users\root\desktop\uboat-master\boat\peisadmin.cpp(14): warning C4800: 'DWORD' : forcing value to bool 'true' or 'false' (performance warning)
1> OSVersionChecker.cpp
1> OSNetVersionChecker.cpp
1>c:\users\root\desktop\uboat-master\boat\osnetversionchecker.cpp(5): warning C4081: expected 'newline'; found ';'
1>c:\users\root\desktop\uboat-master\boat\osnetversionchecker.cpp(25): warning C4101: 'i' : unreferenced local variable
1>c:\users\root\desktop\uboat-master\boat\osnetversionchecker.cpp(27): warning C4101: 'achValue' : unreferenced local variable
1> OSHwidChecker.cpp
1>c:\users\root\desktop\uboat-master\boat\oshwidchecker.cpp(1): warning C4005: '_CRT_SECURE_NO_WARNINGS' : macro redefinition
1> command-line arguments : see previous definition of '_CRT_SECURE_NO_WARNINGS'
1> OSGpuChecker.cpp
1>c:\users\root\desktop\uboat-master\boat\osgpuchecker.cpp(1): warning C4005: '_CRT_SECURE_NO_WARNINGS' : macro redefinition
1> command-line arguments : see previous definition of '_CRT_SECURE_NO_WARNINGS'
1> OSGetRam.cpp
1>c:\users\root\desktop\uboat-master\boat\osgetram.cpp(1): warning C4005: '_CRT_SECURE_NO_WARNINGS' : macro redefinition
1> command-line arguments : see previous definition of '_CRT_SECURE_NO_WARNINGS'
1>c:\users\root\desktop\uboat-master\boat\osgetram.cpp(11): warning C4244: 'argument' : conversion from 'unsigned __int64' to 'int', possible loss of data
1> OSCpuChecker.cpp
1>c:\users\root\desktop\uboat-master\boat\oscpuchecker.cpp(1): warning C4005: '_CRT_SECURE_NO_WARNINGS' : macro redefinition
1> command-line arguments : see previous definition of '_CRT_SECURE_NO_WARNINGS'
1> main.cpp
1>c:\users\root\desktop\uboat-master\boat\main.cpp(334): error C2143: syntax error : missing ';' before '{'
1>c:\users\root\desktop\uboat-master\boat\main.cpp(334): error C2143: syntax error : missing ';' before '}'
1> Keylogger.cpp
1>c:\users\root\desktop\uboat-master\boat\keylogger.cpp(135): warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
1> HttpQuery.cpp
1> Generating Code...
1>c:\users\root\desktop\uboat-master\boat\startup.cpp(139): warning C4715: 'CreateRegKey' : not all control paths return a value
1> Compiling...
1> GateHelper.cpp
1> Flood.cpp
1> DownloadExecute.cpp
1>c:\users\root\desktop\uboat-master\boat\downloadexecute.cpp(99): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data
1> Command.cpp
1>c:\users\root\desktop\uboat-master\boat\command.cpp(22): error C2143: syntax error : missing ';' before '{'
1>c:\users\root\desktop\uboat-master\boat\command.cpp(22): error C2143: syntax error : missing ';' before '}'
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Inventory notification

Your tool/software has been inventoried on Rawsec's CyberSecurity Inventory.

https://inventory.rawsec.ml/tools.html#UBoat

What is Rawsec's CyberSecurity Inventory?

An inventory of tools and resources about CyberSecurity. This inventory aims to help people to find everything related to CyberSecurity.

  • Open source: Every information is available and up to date. If an information is missing or deprecated, you are invited to (help us).
  • Practical: Content is categorized and table formatted, allowing to search, browse, sort and filter.
  • Fast: Using static and client side technologies resulting in fast browsing.
  • Rich tables: search, sort, browse, filter, clear
  • Fancy informational popups
  • Badges / Shields
  • Static API
  • Twitter bot

More details about features here.

Note: the inventory is a FLOSS (Free, Libre and Open-Source Software) project.

Why?

  • Specialized websites: Some websites are referencing tools but additional information is not available or browsable. Make additional searches take time.
  • Curated lists: Curated lists are not very exhaustive, up to date or browsable and are very topic related.
  • Search engines: Search engines sometimes does find nothing, some tools or resources are too unknown or non-referenced. These is where crowdsourcing is better than robots.

Why should you care about being inventoried?

Mainly because this is giving visibility to your tool, more and more people are using the Rawsec's CyberSecurity Inventory, this helps them find what they need.

Badges

The badge shows to your community that your are inventoried. This also shows you care about your project and want it growing, that your tool is not an abandonware.

Feel free to claim your badge here: http://inventory.rawsec.ml/features.html#badges, it looks like that Rawsec's CyberSecurity Inventory, but there are several styles available.

Want to thank us?

If you want to thank us, you can help make the project better known by tweeting about it! For example: Twitter URL

So what?

That's all, this message is just to notify you if you care.

SSL Support?

Am I wrong or the C&C communication is XOR'd over plain HTTP
I'm sorry but there is nothing Encrypted here

Compilation Error

when I try to build a project in VS 2019, I get an error. Debugging also fails.
Screenshot_3

SQL file to big

when i try to upload the sql file this happend

An oversized file may have been uploaded. Please read the documentation to solve this problem.

Please help

Please don't add SSL support

Someone recently asked for SSL support for C2 communications, but I think it is the wrong approach because some security products perform SSL interception and obtain clear-text visibility of all the data, as explained by this also great project: https://github.com/Mr-Un1k0d3r/ThunderShell

For this reason if I had to choose I would rather prefer to use weak XOR over HTTP than using HTTPS.

If you want to make this project even more awesome I would suggest AES over HTTP for encrypted communications, as used in this simple but elegant reverse shell: https://www.trustedsec.com/2012/03/building-a-native-http-shell-with-aes-in-python/

Also, AES over HTTP is a lot easier to implement than SSL in my opinion.

Keep it up, great project and thanks for sharing it.

Documentation #1046 - No database selected

i get this error when i try to upload the db
`SQL query:


--
-- Table structure for table botcommands

CREATE TABLE IF NOT EXISTS botcommands (
botId int(11) NOT NULL,
commandId int(11) NOT NULL,
result mediumtext,
PRIMARY KEY (botId,commandId),
KEY botcommands_ibfk_2 (commandId)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

MySQL said: Documentation
#1046 - No database `selected``

How compile ?

How compile in debian 10 ?
g++ main.cpp display error:
Cannot open include file: 'ws2tcpip.h': No such file or directory

Captcha

I have problems with the login page
actually it is captcha does not show captcha text or picture and whatever i try typing it say captcha error :)

help

Hello,

I'm new to computer coding and I would like to know what software I cloud copy and execute this code in.

Thank you in advance for your answer.

How to get bots?

From the pics I can't understand how to infect and getting bots

Issue on compilation

Good day. This project is interesting, however I can not compile it.
Additionally Uboat Panel on docker gives 403 error ( forbidden) on http://localhost redirecting to /error pages

g++ *.cpp
In file included from Command.cpp:3:
./StringOperations.h:4:10: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~
1 error generated.
In file included from DownloadExecute.cpp:2:
In file included from ./HttpQuery.h:4:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
In file included from Flood.cpp:2:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
In file included from GateHelper.cpp:2:
In file included from ./HttpQuery.h:4:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
In file included from HttpQuery.cpp:1:
In file included from ./HttpQuery.h:4:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
Keylogger.cpp:1:10: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~
1 error generated.
OSCpuChecker.cpp:1:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
OSGetRam.cpp:1:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
OSGpuChecker.cpp:1:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
OSHwidChecker.cpp:1:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
OSNetVersionChecker.cpp:1:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
OSVersionChecker.cpp:2:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
PEIsAdmin.cpp:1:10: fatal error: 'windows.h' file not found
#include <windows.h>
^~~~~~~~~~~
1 error generated.
Processes.cpp:2:10: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~
1 error generated.
In file included from Screenshot.cpp:2:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
In file included from SocketInit.cpp:1:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
In file included from Sockets.cpp:1:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
In file included from Startup.cpp:1:
./Startup.h:3:10: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~
1 error generated.
In file included from StringOperations.cpp:1:
./StringOperations.h:4:10: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~
1 error generated.
URLEncoding.cpp:2:11: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~
1 error generated.
WebSafeEncryption.cpp:3:10: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~
1 error generated.
In file included from WebsiteChecker.cpp:1:
In file included from ./HttpQuery.h:4:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
In file included from main.cpp:1:
In file included from ./HttpQuery.h:4:
./Sockets.h:5:10: fatal error: 'ws2tcpip.h' file not found
#include <ws2tcpip.h>
^~~~~~~~~~~~
1 error generated.
xor.cpp:2:10: fatal error: 'Windows.h' file not found
#include <Windows.h>
^~~~~~~~~~~

How to set up

How the fuck do you set this up the wiki has different files 👎

Cant set up SQL Database

When i import the uboat.sql.zip file into uboat.sql in phpmyadmin i get this:
#1044 - Access denied for user 'id9793807_admin'@'%' to database 'information_schema'

PHP compatibility issues

Function mcrypt_create_iv() was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0.

Alternatives to this function include:

  • random_bytes()

Failed to open Stream: No Such file or directory

Hi,

I have tried to intsall this on an ubuntu and debian vps but am getting the following error ?

Warning: require(/opt/lampp/htdocs/Panel/private/helpers/authverify.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/Panel/vendor/controller.php on line 66

Fatal error: require(): Failed opening required '/opt/lampp/htdocs/Panel/private/helpers/authverify.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/Panel/vendor/controller.php on line 66

I am running PHP 7.0 and have also tried v5.0 ? Is there something that i am missing ? seems to be with those two files?

Thanks

Error While Build boat

1>------ Build started: Project: boat, Configuration: Debug x64 ------
1>Command.cpp
1>DownloadExecute.cpp
1>d:\tools\uboat\uboat-master\bot\boat\downloadexecute.cpp(97): warning C4244: 'argument': conversion from 'time_t' to 'unsigned int', possible loss of data
1>Flood.cpp
1>GateHelper.cpp
1>d:\tools\uboat\uboat-master\bot\boat\gatehelper.cpp(23): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>Keylogger.cpp
1>OSCpuChecker.cpp
1>d:\tools\uboat\uboat-master\bot\boat\oscpuchecker.cpp(10): error C3861: '__cpuid': identifier not found
1>d:\tools\uboat\uboat-master\bot\boat\oscpuchecker.cpp(17): error C3861: '__cpuid': identifier not found
1>d:\tools\uboat\uboat-master\bot\boat\oscpuchecker.cpp(42): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>OSGetRam.cpp
1>d:\tools\uboat\uboat-master\bot\boat\osgetram.cpp(10): warning C4244: 'argument': conversion from 'unsigned __int64' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\osgetram.cpp(10): error C4996: '_itoa': This function or variable may be unsafe. Consider using _itoa_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\stdlib.h(640): note: see declaration of '_itoa'
1>OSGpuChecker.cpp
1>d:\tools\uboat\uboat-master\bot\boat\osgpuchecker.cpp(46): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>d:\tools\uboat\uboat-master\bot\boat\osgpuchecker.cpp(48): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>OSHwidChecker.cpp
1>d:\tools\uboat\uboat-master\bot\boat\oshwidchecker.cpp(11): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>OSNetVersionChecker.cpp
1>d:\tools\uboat\uboat-master\bot\boat\osnetversionchecker.cpp(5): warning C4081: expected 'newline'; found ';'
1>d:\tools\uboat\uboat-master\bot\boat\osnetversionchecker.cpp(64): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>d:\tools\uboat\uboat-master\bot\boat\osnetversionchecker.cpp(27): warning C4101: 'achValue': unreferenced local variable
1>d:\tools\uboat\uboat-master\bot\boat\osnetversionchecker.cpp(25): warning C4101: 'i': unreferenced local variable
1>d:\tools\uboat\uboat-master\bot\boat\osnetversionchecker.cpp(85): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>OSVersionChecker.cpp
1>d:\tools\uboat\uboat-master\bot\boat\osversionchecker.cpp(19): error C4996: 'GetVersionExA': was declared deprecated
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\um\sysinfoapi.h(378): note: see declaration of 'GetVersionExA'
1>d:\tools\uboat\uboat-master\bot\boat\osversionchecker.cpp(187): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>PEIsAdmin.cpp
1>d:\tools\uboat\uboat-master\bot\boat\peisadmin.cpp(22): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>d:\tools\uboat\uboat-master\bot\boat\peisadmin.cpp(24): error C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\string.h(133): note: see declaration of 'strcpy'
1>Processes.cpp
1>Screenshot.cpp
1>d:\tools\uboat\uboat-master\bot\boat\screenshot.cpp(52): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
1>d:\tools\uboat\uboat-master\bot\boat\screenshot.cpp(76): warning C4101: 'dwTmp': unreferenced local variable
1>d:\tools\uboat\uboat-master\bot\boat\screenshot.cpp(74): warning C4101: 'hp': unreferenced local variable
1>d:\tools\uboat\uboat-master\bot\boat\screenshot.cpp(71): warning C4101: 'dwTotal': unreferenced local variable
1>d:\tools\uboat\uboat-master\bot\boat\screenshot.cpp(136): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>Startup.cpp
1>d:\tools\uboat\uboat-master\bot\boat\startup.cpp(161): warning C4311: 'type cast': pointer truncation from 'HMODULE' to 'DWORD'
1>d:\tools\uboat\uboat-master\bot\boat\startup.cpp(161): warning C4302: 'type cast': truncation from 'HMODULE' to 'DWORD'
1>d:\tools\uboat\uboat-master\bot\boat\startup.cpp(161): warning C4312: 'type cast': conversion from 'unsigned long' to 'PIMAGE_NT_HEADERS' of greater size
1>URLEncoding.cpp
1>d:\tools\uboat\uboat-master\bot\boat\urlencoding.cpp(27): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>WebSafeEncryption.cpp
1>WebsiteChecker.cpp
1>d:\tools\uboat\uboat-master\bot\boat\websitechecker.cpp(50): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\websitechecker.cpp(69): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
1>xor.cpp
1>HttpQuery.cpp
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(53): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(61): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(69): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(75): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(82): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(89): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(108): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(127): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(128): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(141): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(81): warning C4477: 'sprintf_s' : format string '%d' requires an argument of type 'int', but variadic argument 1 has type 'size_t'
1>d:\tools\uboat\uboat-master\bot\boat\httpquery.cpp(81): note: consider using '%zd' in the format string
1>Generating Code...
1>d:\tools\uboat\uboat-master\bot\boat\startup.cpp(139): warning C4715: 'CreateRegKey': not all control paths return a value
1>Compiling...
1>main.cpp
1>d:\tools\uboat\uboat-master\bot\boat\main.cpp(103): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\main.cpp(163): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\main.cpp(179): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\main.cpp(183): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>SocketInit.cpp
1>Sockets.cpp
1>StringOperations.cpp
1>d:\tools\uboat\uboat-master\bot\boat\stringoperations.cpp(5): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\stringoperations.cpp(6): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\stringoperations.cpp(32): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\stringoperations.cpp(47): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\stringoperations.cpp(75): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
1>d:\tools\uboat\uboat-master\bot\boat\stringoperations.cpp(82): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data
1>Generating Code...
1>Done building project "boat.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Visual C++ Dependency

Is it possible to build this "boat" with MinGW compiler without Visual C++?
I know that I can embed DLL into executable with /MTd but it increases file size so much.

Fatal error: Cannot declare class Error

i uploaded the panel in www/PHP folder , and created database "uboat" and imported uboat.sql in it the i surfed :

http://localhost/PHP/

it gives :

Fatal error: Cannot declare class Error, because the name is already in use in C:\wamp64\www\PHP\private\controllers\error.php on line 0

Compile Error

Hey im getting errors by just compile it i use VS19 can you help me pls

Compilation Error

When I try to compile main.cpp in vs 19 it tells me "Build Failed, Would You Like To Continue Debugging?"
image

Capcha issue

Hello. I followed all the steps to download the project, but I found a problem with the capcha when trying to login (I don't know what to do with it). Can someone help me please?
Capture d’écran 2022-08-01 112034

PDOException Error

I have been trying to install the panel for a couple of days with no luck. Figured I would ask. I follow the wiki, everything is fine. When I reach the localhost/PHP/login page and attempt to login (with any usr/psw combination) I get the following error

image

I am obviously doing this on WIn10 using XAMPP

EDIT:

I have also tried this using Docker instead of XAMPP and get the same error (looks like on Docker when i CLI into SQL the uboat database is empty. Ran into an issue trying to upload locally into the container so I gave up because it wasn't my desired route anyway).

I got this after i login any fix?

Warning: PDO::prepare(): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'uboat.user' doesn't exist in /var/www/src/Model.php on line 42

Fatal error: Uncaught Error: Call to a member function execute() on boolean in /var/www/src/Model.php:46 Stack trace: #0 /var/www/src/models/user.php(11): Model->query('SELECT * FROM `...', Array) #1 /var/www/src/controllers/login.php(32): user->actionAuth(Array) #2 /var/www/src/goat.php(75): Login->index() #3 /var/www/html/index.php(22): goat->__construct(Array) #4 {main} thrown in /var/www/src/Model.php on line 46

Need help

I have compiled the project on visual studio, set up the webserver and created the database, but when I run the executable boat.exe my computer does not show up as a bot on the website.

PHP error logs

I have followed the wiki but I am unable to access the login page. I can go to panel2/ but only a grey blank page is displayed. When I go to www.domain.com/panel2/ an error log is generated in public_html.

PHP Warning:  require(/home/tempussy/public_html/panel2/private/helpers/authverify.php): failed to open stream: No such file or directory in /home/tempussy/public_html/panel2/vendor/controller.php on line 66`
PHP Fatal error:  require(): Failed opening required '/home/tempussy/public_html/panel2/private/helpers/authverify.php' (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/tempussy/public_html/panel2/vendor/controller.php on line 66

If I rename 'AuthVerify.php' to 'authverify.php' new errors are generated

PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/tempussy/public_html/panel2/vendor/goat.php:11) in /home/tempussy/public_html/panel2/vendor/controller.php on line 72
PHP Fatal error:  Uncaught Error: Call to a member function render() on null in /home/tempussy/public_html/panel2/vendor/controller.php:34
Stack trace:
#0 /home/tempussy/public_html/panel2/vendor/controller.php(8): Controller->beforeRequest()
#1 /home/tempussy/public_html/panel2/vendor/goat.php(89): Controller->__construct()
#2 /home/tempussy/public_html/panel2/index.php(22): goat->__construct(Array)
#3 {main}
  thrown in /home/noccogll/public_html/panel2/vendor/controller.php on line 34

My db settings in config.php are correct. I am not too sure about my URL's though.
'base_url' => 'http://domain.com/panel2/'
'external_address' => 'domain.com', // 'domain_goes_here', localhost

botnet panel error

image

I wrote sudo docker-compose up --build
he gives me an answer like this
But here we have not yet installed the database and have not done anything like this, we have done before
run phpmyadmin separately
Even in the database itself, a user was created, etc., but all the time the same error

I will be very glad for your help.=)

Supported platforms

It look realy good. I dont test it but i have a question:
Compatible with linux? And apache (no xamp)? I wanna try it on my vps (with my vm lab)

Thanks and sorry for my bad english

Panel leading to error403 object not found

I have set the config.php correctly but visiting the localhost/bot leads to error403 page which doesn’t exist and also localhost/bot/login leads to error404
Am running on windows 10 there is no folder named PHP in the file list downloaded is there any other link?

EXE Freez need help

freez at this time
g1 1
and when i debugg it shows this
g1 2

if u know why please help me and last one gate.php everythin ok? it return ::1
g1 3

Compiling

First, thank you for your effort in coding this and keeping it open sourced. The panel looks great. I am having trouble with compiling the bot in Visual studio 2013. I have tried to find MS build tools 2010 everywhere unsuccessfully and upgrading the project gives me about 100 different warnings and errors when compliling. I have tried v120_xp and v120 and v140 build tools but now have been successful. Im only using local ips ie .10.0.0.0 in a virtual machine for domain names but don't think this makes a difference. Any pointers would be gratefully accepted. Thank you

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.