Jump to content

Can't generate payload using "hershell"


moelharrak

Recommended Posts

Hi,

I'm trying to generate payload using "hershell"

1. # make depends  --> OK (SSL cert generated)

2. # make windows64 LHOST=192.168.30.48 LPORT=1234  --> NOK 

hershell.go:13:2: no required module provides package github.com/lesnuages/hershell/meterpreter: go.mod file not found in current directory or any parent directory; see 'go help modules'
hershell.go:14:2: no required module provides package github.com/lesnuages/hershell/shell: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:29: windows64] Error 1
 

any idea what could be the issue?

Thank you

Link to comment
Share on other sites

it's not related to bunny , right now I'm just trying to generate payload to copy in bunny for a reverseshell.

1- I did install Golang and setup the ENV in Kali

2- I did clone the repo https://github.com/sysdream/hershell.git 

3- I did generate ssl using the command (# make depends ) as mentioned in the github.

4-But when I try to generate the payload using the command (# make windows64 LHOST=192.168.30.48 LPORT=1234) it display the error that I mentioned in my first post.

 

Link to comment
Share on other sites

Since it's not Bunny related, seek help on GitHub. Preferably also not using a forked repo if there is no relevant reason to do so.

If you read the issues in the "original" GitHub repo for hershell, you'll find one that is corresponding pretty well with your scenario, and has a suggestion on how to solve it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...