Skip to content

Commit

Permalink
add -pgrok
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyfishSec committed Mar 23, 2021
0 parents commit cd08e51
Show file tree
Hide file tree
Showing 15 changed files with 2,168 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
* linguist-vendored
*.bat linguist-language=Flyfish
# In general, use LF for text
* text eol=crlf

# Windows CMD does not like LF in batch files
*.bat text eol=crlf
*.cmd text eol=crlf

# Visual Studio solutions like to switch to CRLF at times
*.sln text eol=crlf

*.ai binary
*.aiff binary
*.dll binary
*.eot binary
*.exe binary
*.jar binary
*.jpg binary
*.gif binary
*.mp3 binary
*.o binary
*.pdf binary
*.png binary
*.psd binary
*.so binary
*.ttf binary
*.winmd binary
*.zip binary
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

rsGen v2.0 - Reverse Shell Command Genrator.
=

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".

![rsGen](https://raw.githubusercontent.com/FlyfishSec/rsGen/master/doc/rsgen.png "rsGen")

## Usage


```
-pub Generate a "variant command".Use this parameter,the Command will be encoded upload to the
public pastebin website.
-lan In some cases, the target machine cannot request an external network.This parameter will call
mongoose.exe in the command directory(a mini web server, only 144kb, see the website:
https://cesanta.com/), enable a web service on the local port 80 for command request execution.
After the end, you need to manually exit it.
-listen Start port listening locally to receive shell that bounce back.Start port listening locally
to receive a shell that bounces back, Function equivalent to the netcat (call powercat.ps1).
-ngrok Start ngrok TCP Tunnel(Contains -pub, -listen options).Notice:I added a ngrok authtoken. Since
it is a free plan, it may not be available to multiple people. You can go to ngrok.com to apply
for your own authtoken, and then modify your authtoken in the include/config.yaml file
-pgrok Start pgrok TCP Tunnel(Contains -pub, -listen options).like ngrok but free and unlimited.
```
![rsGen](https://raw.githubusercontent.com/FlyfishSec/rsGen/master/doc/rsgen-pgrok.png "rsGen-pgrok")


## Operating system

A Windows 7 or higher Windows operating system.




Binary file added doc/rsgen-pgrok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/rsgen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added include/curl.exe
Binary file not shown.
Binary file added include/mongoose.exe
Binary file not shown.
Binary file added include/ngrok.exe
Binary file not shown.
1 change: 1 addition & 0 deletions include/ngrok.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
authtoken: 1pqNPomgd8IS4MEVD5ixWqbynci_7qPUV8PQ9bZhDhR23gvBq
Loading

0 comments on commit cd08e51

Please sign in to comment.