Git Product home page Git Product logo

shellcode-encryptor's People

Contributors

plackyhacker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shellcode-encryptor's Issues

Powershell Cradle Not Working

Hi. I used your code repo to generate the b64 payload and key strings and compiled the ProcessInjection.cs template using VS2019. The executable works fine with AV turned off and gets a meterpreter sesssion. When I try executing via the PS script (with AV off) I can see the .exe file being pulled down but no connection on metasploit.

image
1). Payload generated

image
2). PS commands ran on victim box

image
3). SimpleHTTP server showing the file being pulled down

I have also tried using IEX cradle to load the powershell script test.ps1 as shown in image 3 which behaves the same, i.e. file gets pulled down but no execution.

Doesn't run

Hi, was trying this, but getting an error upon execution:

SharpCall.exe
[+] Base Address of ntdll is 0x774E0000
[+] Target PID is 408
[+] Syscall NtOpenProcess on 408

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr source, Object destination, Int32 startIndex, Int32 length)
at System.Runtime.InteropServices.Marshal.Copy(IntPtr source, Byte[] destination, Int32 startIndex, Int32 length)
at SysCall.Syscalls.GetSysCallId(String FunctionName)
at SysCall.Syscalls.NtOpenProcess(IntPtr& ProcessHandle, UInt32 AccessMask, OBJECT_ATTRIBUTES& ObjectAttributes, CLIENT_ID& ClientId)
at SysCall.Program.Main(String[] args)

Compiling impossible

I changed the two vars to run the compiler then, I get errors in various flavors. Any chance you could provide instruction on how to compile it?

System.AccessViolationException

Error: System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

Unhandled exception on function();.

32 bit not working

Hi, so I followed your directions and everything works perfect when I use the same 64 bit payload you used, but I'm not having any luck with 32 bit payloads.

I'm using ./shellcode_encryptor.py -p windows/meterpreter/reverse_https -i myip -l myport -f b64
then compile in VS build release x86
then use windows/meterpreter/reverse_https multi handler

and nothing happens when I try to launch the executable.

Failed to compile to the executables

Hi there, I tried .NET Framework v3.5 - v4.0, using csc.exe to compile the ProcessInjection.cs, and get error like this:

Capture20211014095545

And whether you miss a "}" at the last of the code?
Please check this, thanks a lot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.