screetsec/TheFatRat

compilation error in Windows backdoor with Avoidv1.2.

ZLACKOOL opened this issue · 1 comments

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.

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?