ldpreload / BlackLotus

BlackLotus UEFI Windows Bootkit
1.91k stars 459 forks source link

Database is empty #13

Open temp288 opened 1 year ago

temp288 commented 1 year ago

Hi guys, I finished compiling, loaded it up on centos 7 with apache and mariadb, set firewall rules, etc. Can connect to localhost and login.

Question: I now have an empty database I need to populate. Supposedly when I load up bot,exe it should show up in the database, no?

TooPlain commented 1 year ago

Look in the panel/private folder there is MySQL dump just upload that (phpmyadmin or sql cli) to build the database structure.

temp288 commented 1 year ago

Yeah I used the CLI like this:

`[root@localhost ~]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 14 Server version: 5.5.68-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> USE panel Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A

Database changed MariaDB [panel]> source /var/www/html/private/db.sql Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 2 rows affected (0.00 sec)

Query OK, 1 row affected (0.00 sec)

Database changed Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

MariaDB [panel]> `

capoxx12 commented 1 year ago

How did you manage to compile the exe, it gives me an error when compiling

temp288 commented 1 year ago

You have to fix the function BookitInitialize() that's messed up on purpose in nzt.c Your include directory needs to be c:\whatever_path\BlackLotus\src\Shared; And you need to use platform Win32

capoxx12 commented 1 year ago

I keep getting these two errors vs

temp288 commented 1 year ago

As I said, look at the function it's referring to in the nzt.c file it's somewhere at the top. Replace it with this: int BookitInitialize() { return 0; }

capoxx12 commented 1 year ago

I have achieved this by reserver but I still have the second error vs

temp288 commented 1 year ago

Show me the properties for bot

capoxx12 commented 1 year ago

ok vs 1 vs 2 vs 3

temp288 commented 1 year ago

that's not all of them

capoxx12 commented 1 year ago

Hi bro, which version of VS have you used to compile the project?

temp288 commented 1 year ago

2019

capoxx12 commented 1 year ago

dell latitude ruggued hacking vs vs 1

capoxx12 commented 1 year ago

you managed to make it work?

ghost commented 1 year ago

@temp288 Did you ever get it to connect? If so how? I've ran Bot.exe on multiple machines with nothing showing in DB

gabriel-maxx commented 11 months ago

@temp288 hello, could you upload the compiled project on your github please? I'm getting errors too

gabriel-maxx commented 11 months ago

@temp288 I was able to compile the bot and the Encryptor I also accessed the panel so it's just missing the bootkit efi driver I don't know how to compile it could you help me? I'm using windows

C-fire commented 9 months ago

@temp288 I was able to compile the bot and the Encryptor I also accessed the panel so it's just missing the bootkit efi driver I don't know how to compile it could you help me? I'm using windows

have you had any success?

C-fire commented 9 months ago

@temp288 Did you ever get it to connect? If so how? I've ran Bot.exe on multiple machines with nothing showing in DB

@uwuw7 are the bots showing in your panel? Mine is not showing, I changed the IP in the file Share/config.c yet it's not showing or I need to host it on a public IP?

C-fire commented 9 months ago

Hi guys, I finished compiling, loaded it up on centos 7 with apache and mariadb, set firewall rules, etc. Can connect to localhost and login.

Question: I now have an empty database I need to populate. Supposedly when I load up bot,exe it should show up in the database, no?

@temp288 is it working for you now?

gabriel-maxx commented 9 months ago

@C-fire Hello, were you able to compile the .efi driver? what did you use linux or windows can you help me?

C-fire commented 9 months ago

@C-fire Hello, were you able to compile the .efi driver? what did you use linux or windows can you help me?

@gabriel-maxx use x86_64-w64-mingw32-gcc

gabriel-maxx commented 9 months ago

@C-fire Hello, were you able to compile the .efi driver? what did you use linux or windows can you help me?

@gabriel-maxx use x86_64-w64-mingw32-gcc

install x86_64-w64-mingw32-gcc on windows or linux? and then what is the next step?

C-fire commented 9 months ago

@C-fire Hello, were you able to compile the .efi driver? what did you use linux or windows can you help me?

@gabriel-maxx use x86_64-w64-mingw32-gcc

install x86_64-w64-mingw32-gcc on windows or linux? and then what is the next step?

Install it on linux then compile it.

gabriel-maxx commented 9 months ago

@C-fire Hello, were you able to compile the .efi driver? what did you use linux or windows can you help me?

@gabriel-maxx use x86_64-w64-mingw32-gcc

install x86_64-w64-mingw32-gcc on windows or linux? and then what is the next step?

Install it on linux then compile it.

I installed it, but what now? there is no makefile or inf file, etc. Should I create one and what do I put inside? Help me

blackbeltprocrastinator commented 8 months ago

@C-fire did you manage to resolve this? I'm constantly getting Response as NULL even after changing config.c