Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZLACKOOL opened this issue Sep 29, 2023 · 1 comment
Open

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

ZLACKOOL opened this issue Sep 29, 2023 · 1 comment

Comments

@ZLACKOOL
Copy link

ZLACKOOL commented Sep 29, 2023

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants