Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/potato-industries/fsrs
portable f# reverse shell
https://github.com/potato-industries/fsrs
fsharp reverse-shell
Last synced: 27 days ago
JSON representation
portable f# reverse shell
- Host: GitHub
- URL: https://github.com/potato-industries/fsrs
- Owner: Potato-Industries
- Created: 2019-11-27T05:00:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T06:14:01.000Z (about 5 years ago)
- Last Synced: 2024-11-11T04:21:27.700Z (3 months ago)
- Topics: fsharp, reverse-shell
- Language: F#
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fsrs
portable f# reverse shell (self-contained executable)
**Build**
```
root@kali:/opt/fsrs# apt-get install fsharp
Reading package lists... Done
Building dependency tree
Reading state information... Done
fsharp is already the newest version (4.5-0xamarin9+ubuntu1804b1).
0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded.
```
Ubuntu 18.04 (works fine with kali 2019.4)
- https://www.mono-project.com/download/stable/#download-lin**Usage**
```
root@kali:/opt/fsrs# sn -k fsrs.snk
Mono StrongName - version 5.18.0.240
StrongName utility for signing assemblies
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.A new 1024 bits strong name keypair has been generated in file 'fsrs.snk'.
root@kali:/opt/fsrs# fsharpc --target:winexe --keyfile:fsrs.snk --standalone fsrs.fsx
Microsoft (R) F# Compiler version 10.2.3 for F# 4.5
Copyright (c) Microsoft Corporation. All Rights Reserved.root@kali:/opt/fsrs# ls -lha
total 1.6M
drwxr-xr-x 2 root root 4.0K Nov 27 04:54 .
drwxr-xr-x 29 root root 4.0K Nov 27 02:56 ..
-rwxr-xr-x 1 root root 1.6M Nov 27 04:54 fsrs.exe
-rw-r--r-- 1 root root 1.5K Nov 27 04:54 fsrs.fsx
-rw------- 1 root root 596 Nov 27 04:52 fsrs.snk
```- Edit listener IP/Domain, Port values in fsrs.fsx.
- Edit target binary for reverse shell in fsrs.fsx.
- Generate strong name key fsrs.snk
- Compile fsrs.fsx to fsrs.exe (flags: standalone, keyfile, target platform)
- Drop and execute fsrs.exe on host for reverse shell.**AV**
Not bad out of the box, source code will need obfuscation for further bypass.
Enjoy~