Giter Club home page Giter Club logo

inject-lib's Introduction

๐Ÿ‘‹ Hi, Iโ€™m C0D3-M4513R. My Name is roughly the same across all platorms. My Nickname mostly follows this regex: "C0D3[-_ ]*?M4513R".

Iโ€™m interested in:

  • Programming
  • 3D-Modelling
  • Animation?

Top Langs

Notes:

  • The languages above don't include commits to any repos in organizations. (as such my java statistic is way lower, than it should be)
  • Also not included are contributions to Magma (see contributer section).

C0D3 M4513R's GitHub stats

๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on something? Not sure. Do contact me though, if you really want to contribute to one of my projects! Help is always appreciated.

Contributer/Staff at:

I also have an alt on github, for things/apps that have permissions I do not understand:

๐Ÿ“ซ How to reach me:

Support me on Ko-Fi at: https://ko-fi.com/c0d3_m4513r.

inject-lib's People

Contributors

bors[bot] avatar c0d3-m4513r avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

inject-lib's Issues

Maybe change License?

TBH. I don't know, if I'm happy with LGPLv2.1.
I need to consider some other alternatives.
This license is not set into stone at all for me.
If I am going to change the license, I'd rather go with something more open.

EDIT: If I do decide to go with another licence it will be "LGPLv2.1 or 'Something Else'". You should not have to worry about what license I change to (unless the current license is to restrictive for you).

x86 inject x86 failed

When target process is under WOW, the path of kernel32.dll is "c:\windows\system32\kernel32.dll", which is fake path. The real path is "c:\windows\sysWOW64\kernel32.dll".
And if the domain process is under WOW too, the entry_point will point to the export function of "c:\windows\sysnative\kernel32.dll". The real path is "c:\windows\system32\kernel32.dll".
So there is a bug.

CreateToolhelp32Snapshot

If the function fails with ERROR_BAD_LENGTH when called with TH32CS_SNAPMODULE or TH32CS_SNAPMODULE32, call the function again until it succeeds.

no-std not consistent?

Sometimes tests fail, or the entire testing process crashes due to STATUS_HEAP_CORRUPTION.
I've also seen STATUS_ACCESS_VIOLATION.
why? did it happen before?

  • investigate 32-bit(i686) no-std builds

Add tests

I don't currently know, how to add tests.
I'd need to compile a dll, and inject it. All while inside a method? is that doable?

1.0.0 release when?

I will not release a 1.0 release until stability and crash freeness of this library and target process (assuming it doesn't crash because a dll was injected) can be garanteed.

eject failed

Thank u for this project.
My English is bad, sorry.
There are two errors in InjectWin::eject:

  1. windows::str_from_wide_str convert raw wide char pointer to rust-string without trim '\x00', which will make get_module_in_pid cannot find target module handle. I add .map(|s|{String::from(s.trim_end_matches(char::from(0)))}) to fix this.
  2. The arg lpParameter of CreateRemoteThread will become the arg of lpStartAddress directly. When lpStartAddress is 'FreeLoadLibraryA', lpParameter should be the handle instead of a pointer.

Looking For Maintainer

I have not maintained this crate in a while, and I have honestly lost interest in this.
This crate was a fun way to learn about more low level stuff for me.
I have not had any interest of touching this crate in a while.

Probably can probably be attributed in part to some of the bad code-quality that is inside this crate.
Anyways, if you are interested in stepping up as a maintainer I can add you as a co-owner on crates.io and give you writer(or maintainer) access on github.

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.