screetsec / TheFatRat

Thefatrat a massive exploiting tool : Easy tool to generate backdoor and easy tool to post exploitation attack like browser attack and etc . This tool compiles a malware with popular payload and then the compiled malware can be execute on windows, android, mac . The malware that created with this tool also have an ability to bypass most AV software protection .
GNU General Public License v3.0
9.51k stars 2.27k forks source link

compilation error in Windows backdoor with Avoidv1.2. #791

Open ZLACKOOL opened 1 year ago

ZLACKOOL commented 1 year ago

I am trying to create a backdoor for windows with AV bypass. Choosing the option with Avoid1.2. After setting the stealth level to [1] (NORMAL 400K payload) I get this error that Something went wrong compiling the executable

/home/ravan/Documents/TheFatRat/temp/build.c:84:15: error: redefinition of ‘padding’
   84 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:2:15: note: previous definition of ‘padding’ with type ‘unsigned char[10645540]’
    2 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:86:6: error: redefinition of ‘payload’
   86 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:4:6: note: previous definition of ‘payload’ with type ‘char[1019]’
    4 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:195:6: error: redefinition of ‘comment’
  195 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:78:6: note: previous definition of ‘comment’ with type ‘char[512]’
   78 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:196:5: error: redefinition of ‘main’
  196 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:79:5: note: previous definition of ‘main’ with type ‘int(int,  char **)’
   79 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:201:15: error: redefinition of ‘padding’
  201 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:2:15: note: previous definition of ‘padding’ with type ‘unsigned char[410485]’
    2 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:203:6: error: redefinition of ‘payload’
  203 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:4:6: note: previous definition of ‘payload’ with type ‘char[1510]’
    4 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:331:6: error: redefinition of ‘comment’
  331 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:78:6: note: previous definition of ‘comment’ with type ‘char[512]’
   78 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:332:5: error: redefinition of ‘main’
  332 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:79:5: note: previous definition of ‘main’ with type ‘int(int,  char **)’
   79 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:337:15: error: redefinition of ‘padding’
  337 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:2:15: note: previous definition of ‘padding’ with type ‘unsigned char[102247922]’
    2 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:339:6: error: redefinition of ‘payload’
  339 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:4:6: note: previous definition of ‘payload’ with type ‘char[1779]’
    4 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:442:6: error: redefinition of ‘comment’
  442 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:78:6: note: previous definition of ‘comment’ with type ‘char[512]’
   78 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:443:5: error: redefinition of ‘main’
  443 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:79:5: note: previous definition of ‘main’ with type ‘int(int,  char **)’
   79 | int main(int argc, char **argv) {
      |     ^~~~

[!] Something went wrong trying to compile the executable, exiting

I've installed minGW-w64 v11.0.1(latest the time writing this), maybe FatRat requires another version of it.

flashbackboi commented 1 year ago

I am trying to create a backdoor for windows with AV bypass. Choosing the option with Avoid1.2. After setting the stealth level to [1] (NORMAL 400K payload) I get this error that Something went wrong compiling the executable

/home/ravan/Documents/TheFatRat/temp/build.c:84:15: error: redefinition of ‘padding’
   84 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:2:15: note: previous definition of ‘padding’ with type ‘unsigned char[10645540]’
    2 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:86:6: error: redefinition of ‘payload’
   86 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:4:6: note: previous definition of ‘payload’ with type ‘char[1019]’
    4 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:195:6: error: redefinition of ‘comment’
  195 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:78:6: note: previous definition of ‘comment’ with type ‘char[512]’
   78 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:196:5: error: redefinition of ‘main’
  196 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:79:5: note: previous definition of ‘main’ with type ‘int(int,  char **)’
   79 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:201:15: error: redefinition of ‘padding’
  201 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:2:15: note: previous definition of ‘padding’ with type ‘unsigned char[410485]’
    2 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:203:6: error: redefinition of ‘payload’
  203 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:4:6: note: previous definition of ‘payload’ with type ‘char[1510]’
    4 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:331:6: error: redefinition of ‘comment’
  331 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:78:6: note: previous definition of ‘comment’ with type ‘char[512]’
   78 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:332:5: error: redefinition of ‘main’
  332 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:79:5: note: previous definition of ‘main’ with type ‘int(int,  char **)’
   79 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:337:15: error: redefinition of ‘padding’
  337 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:2:15: note: previous definition of ‘padding’ with type ‘unsigned char[102247922]’
    2 | unsigned char padding[]=
      |               ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:339:6: error: redefinition of ‘payload’
  339 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:4:6: note: previous definition of ‘payload’ with type ‘char[1779]’
    4 | char payload[] =
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:442:6: error: redefinition of ‘comment’
  442 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:78:6: note: previous definition of ‘comment’ with type ‘char[512]’
   78 | char comment[512] = "";
      |      ^~~~~~~
/home/ravan/Documents/TheFatRat/temp/build.c:443:5: error: redefinition of ‘main’
  443 | int main(int argc, char **argv) {
      |     ^~~~
/home/ravan/Documents/TheFatRat/temp/build.c:79:5: note: previous definition of ‘main’ with type ‘int(int,  char **)’
   79 | int main(int argc, char **argv) {
      |     ^~~~

[!] Something went wrong trying to compile the executable, exiting

I've installed minGW-w64 v11.0.1(latest the time writing this), maybe FatRat requires another version of it.

try kali?