dart_rs
basic dart reverse shell based on this one by potato-industries. pretty self explanatory.
you’ll need windows. i used a windows 7 64-bit vm. from there:
- install the dart sdk from dart.dev via the instructions (using chocolately is easiest)
- optional: install visual studio community to get ‘editbin.exe’ so you can modify your dart shell binary to run silently. install the “desktop development with c++” package when prompted.
- grab rs.dart from this repo
- modify the host and port to a value that suits you
- open a command prompt and compile the binary with dart2native:
- to stop the binary executing with a persistent black command window in the foreground, use editbin.exe from your visual studio install to hide it (optional):
- transfer the binary to the target system, set up a listener on the box you configured and give it a crack.
it’s not awesome right now – lots of cleanup to do (for example, every command sent spawns a new powershell process…), will get to that at some point.
Comments are closed.