Skip to content

Commit cd08e51

Browse files
committed
add -pgrok
0 parents  commit cd08e51

15 files changed

Lines changed: 2168 additions & 0 deletions

.gitattributes

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
* linguist-vendored
2+
*.bat linguist-language=Flyfish
3+
# In general, use LF for text
4+
* text eol=crlf
5+
6+
# Windows CMD does not like LF in batch files
7+
*.bat text eol=crlf
8+
*.cmd text eol=crlf
9+
10+
# Visual Studio solutions like to switch to CRLF at times
11+
*.sln text eol=crlf
12+
13+
*.ai binary
14+
*.aiff binary
15+
*.dll binary
16+
*.eot binary
17+
*.exe binary
18+
*.jar binary
19+
*.jpg binary
20+
*.gif binary
21+
*.mp3 binary
22+
*.o binary
23+
*.pdf binary
24+
*.png binary
25+
*.psd binary
26+
*.so binary
27+
*.ttf binary
28+
*.winmd binary
29+
*.zip binary

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
2+
rsGen v2.0 - Reverse Shell Command Genrator.
3+
=
4+
5+
rsGen is an automated reverse shell command genrator, built by Windows Batch and Jscript. The main functions include native command generation and variant command generation. In version 2.0, I added an anonymous reverse shell receiving function "-ngrok" and "-pgrok".
6+
7+
![rsGen](https://raw.githubusercontent.com/FlyfishSec/rsGen/master/doc/rsgen.png "rsGen")
8+
9+
## Usage
10+
11+
12+
```
13+
14+
-pub Generate a "variant command".Use this parameter,the Command will be encoded upload to the
15+
public pastebin website.
16+
17+
-lan In some cases, the target machine cannot request an external network.This parameter will call
18+
mongoose.exe in the command directory(a mini web server, only 144kb, see the website:
19+
https://cesanta.com/), enable a web service on the local port 80 for command request execution.
20+
After the end, you need to manually exit it.
21+
22+
-listen Start port listening locally to receive shell that bounce back.Start port listening locally
23+
to receive a shell that bounces back, Function equivalent to the netcat (call powercat.ps1).
24+
25+
-ngrok Start ngrok TCP Tunnel(Contains -pub, -listen options).Notice:I added a ngrok authtoken. Since
26+
it is a free plan, it may not be available to multiple people. You can go to ngrok.com to apply
27+
for your own authtoken, and then modify your authtoken in the include/config.yaml file
28+
29+
-pgrok Start pgrok TCP Tunnel(Contains -pub, -listen options).like ngrok but free and unlimited.
30+
31+
```
32+
![rsGen](https://raw.githubusercontent.com/FlyfishSec/rsGen/master/doc/rsgen-pgrok.png "rsGen-pgrok")
33+
34+
35+
## Operating system
36+
37+
A Windows 7 or higher Windows operating system.
38+
39+
40+
41+

doc/rsgen-pgrok.png

200 KB
Loading

doc/rsgen.png

65.3 KB
Loading

include/curl.exe

1.38 MB
Binary file not shown.

include/mongoose.exe

144 KB
Binary file not shown.

include/ngrok.exe

12.8 MB
Binary file not shown.

include/ngrok.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
authtoken: 1pqNPomgd8IS4MEVD5ixWqbynci_7qPUV8PQ9bZhDhR23gvBq

0 commit comments

Comments
 (0)