Login Register


Leak Payload/Delete Script for Windows filter_list
Author
Message
Payload/Delete Script for Windows #1
@echo off
color 0a
msg *Did I oops %random%
:Reckon
echo Did I oops #%random% >C:path\%random%%random%.txt
goto Reckon

Delete Code (modified the OPsdidn't work)

@echo off
color 0a
msg *Removing Did I oops virus
del /s *.txt
echo you cleaned your oops
Pause

Reply

RE: Payload/Delete Script for Windows #2
I'm self taught, but I know that delete *.txt deletes the files, color sets the color of the echo text >C: is a part of the file path and random is what's generating the payload, but I don't understand what reckon does and if I used this in my program files it would delete everything .txt yes?, so it can be improved, but I need resources to learn C. Can anyone help me?

Reply

RE: Payload/Delete Script for Windows #3
I don't know where you got this information from but it's not entirely correct. First of all this is batch, not C,C++ or Obj-C, might be better to post this in "Coding" @mothered .

Then to answer your question(s):
1) The DEL /s *.txt will ONLY remove text files(.txt extension) and nothing else.
2) The random part isn't generating a payload at all, it's generating a random number and that's it. To read up on what a payload is: check wikipedia or something (https://en.wikipedia.org/wiki/Payload_(computing))
3) The Reckon is just a "placeholder", someone correct me if they have the right name for it (dutch guy here), which means it could be replaced by anything. It's just a place in your code, and with the GOTO statement you can go to a specific "placeholder".

For example:
Spoiler:
@echo off
color 0a
msg *Did I oops %random%
:thiscanbeanything
echo Did Ioops #%random% >C:path\%random%%random%.txt
goto thiscanbeanything

will do exactly the same as your example. Batch isn't very useful, I'd learn Bash instead.

Also there are various tutorials on YouTube teaching C, or you could buy a Udemy course or something. Check out this maybe: http://gg.gg/9rryi
(This post was last modified: 04-05-2018, 12:44 PM by Bish0pQ.)
~~ Might be back? ~~

[+] 1 user Likes Bish0pQ's post
Reply

RE: Payload/Delete Script for Windows #4
(04-05-2018, 12:44 PM)Bish0pQ Wrote: I don't know where you got this information from but it's not entirely correct. First of all this is batch, not C,C++ or Obj-C, might be better to post this in "Coding" @mothered .

Then to answer your question(s):
1) The DEL /s *.txt will ONLY remove text files(.txt extension) and nothing else.
2) The random part isn't generating a payload at all, it's generating a random number and that's it. To read up on what a payload is: check wikipedia or something (https://en.wikipedia.org/wiki/Payload_(computing))
3) The Reckon is just a "placeholder", someone correct me if they have the right name for it (dutch guy here), which means it could be replaced by anything. It's just a place in your code, and with the GOTO statement you can go to a specific "placeholder".

For example:
Spoiler:
@echo off
color 0a
msg *Did I oops %random%
:thiscanbeanything
echo Did Ioops #%random% >C:path\%random%%random%.txt
goto thiscanbeanything

will do exactly the same as your example. Batch isn't very useful, I'd learn Bash instead.

Also there are various tutorials on YouTube teaching C, or you could buy a Udemy course or something. Check out this maybe: http://gg.gg/9rryi

So I'm just repeating the second part of the code and the del /s. txt would only work in that folder if placed elsewhere would it still work?

Reply

RE: Payload/Delete Script for Windows #5
@Bootlegronin47 Pretty much, in this example it will repeat following line:
echo Did I oops #%random% >C:path\%random%%random%.txt

and it will never stop. GOTO is more used in if and else statements, (if this happens, GOTO that "function", else GOTO ...).

And yes the delete script will only work in the current folder. You can place the same file somewhere else and it would delete the text files in that folder than. Check here if you want to see how to delete folders & files recursivily:
http://gg.gg/9rspp
~~ Might be back? ~~

[+] 1 user Likes Bish0pQ's post
Reply

RE: Payload/Delete Script for Windows #6
Maybe it's good if you explain what you want to do, I might be able to write the script for you with some documentation, if that would make things more clear.
~~ Might be back? ~~

Reply

RE: Payload/Delete Script for Windows #7
(04-05-2018, 12:44 PM)Bish0pQ Wrote: First of all this is batch, not C,C++ or Obj-C, might be better to post this in "Coding" @mothered .

Indeed It Is a simple batch script.

Moved to the Coding forum.
[Image: AD83g1A.png]

[+] 1 user Likes mothered's post
Reply







Users browsing this thread: 1 Guest(s)