Merge pull request #9 from Nariod/master

Process_Injection_CreateThread tweaks
This commit is contained in:
Thanasis Tserpelis
2022-02-17 22:19:47 +02:00
committed by GitHub
302 changed files with 495 additions and 29 deletions
+4
View File
@@ -0,0 +1,4 @@
*.rs.bk
Cargo.lock
*exe
*elf
@@ -0,0 +1 @@
{"rustc_fingerprint":11954453672835432746,"outputs":{"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.58.1 (db9d1b20b 2022-01-20)\nbinary: rustc\ncommit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b\ncommit-date: 2022-01-20\nhost: x86_64-unknown-linux-gnu\nrelease: 1.58.1\nLLVM version: 13.0.0\n","stderr":""},"2797684049618456168":{"success":false,"status":"exit status: 1","code":1,"stdout":"","stderr":"error: `-Csplit-debuginfo` is unstable on this platform\n\n"},"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/nariod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""}},"successes":{}}
@@ -0,0 +1,3 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by cargo.
# For information about cache directory tags see https://bford.info/cachedir/
@@ -0,0 +1 @@
{"rustc_fingerprint":11954453672835432746,"outputs":{"2797684049618456168":{"success":false,"status":"exit status: 1","code":1,"stdout":"","stderr":"error: `-Csplit-debuginfo` is unstable on this platform\n\n"},"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.58.1 (db9d1b20b 2022-01-20)\nbinary: rustc\ncommit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b\ncommit-date: 2022-01-20\nhost: x86_64-unknown-linux-gnu\nrelease: 1.58.1\nLLVM version: 13.0.0\n","stderr":""},"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/nariod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""}},"successes":{}}
@@ -0,0 +1,3 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by cargo.
# For information about cache directory tags see https://bford.info/cachedir/
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[]","target":9822960342458462541,"profile":7309141686862299243,"path":1684066648322511884,"deps":[[932046435652456706,"ntapi",false,5608843027863378621]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/Allocate_With_Syscalls-4cd643635a8b76c4/dep-bin-Allocate_With_Syscalls"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[]","target":9822960342458462541,"profile":1021633075455700787,"path":1684066648322511884,"deps":[[932046435652456706,"ntapi",false,5608843027863378621]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/Allocate_With_Syscalls-7ea791726b5d8997/dep-test-bin-Allocate_With_Syscalls"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[\"default\", \"user\"]","target":13294766831966498538,"profile":12637318739757120569,"path":17638233497584036537,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/ntapi-316dd0cd34bc7701/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":9154585209112454500,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"","target":0,"profile":0,"path":0,"deps":[[932046435652456706,"build_script_build",false,4549276424844315480]],"local":[{"Precalculated":"0.3.7"}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
bd1ab954049dd64d
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[\"default\", \"user\"]","target":10032696734162633939,"profile":3735503092003429423,"path":9788309995305426868,"deps":[[932046435652456706,"build_script_build",false,14843336520404386778],[11200738327577307306,"winapi",false,2359821874056619675]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/ntapi-be7d0fc4269e4b38/dep-lib-ntapi"}}],"rustflags":[],"metadata":9154585209112454500,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[\"cfg\", \"evntrace\", \"in6addr\", \"inaddr\", \"minwinbase\", \"ntsecapi\", \"windef\", \"winioctl\"]","target":1607490174094055910,"profile":3735503092003429423,"path":8497993870064310280,"deps":[[11200738327577307306,"build_script_build",false,7367244078110663032]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/winapi-297234c50d73bde7/dep-lib-winapi"}}],"rustflags":[],"metadata":16266002775178098827,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[\"cfg\", \"evntrace\", \"in6addr\", \"inaddr\", \"minwinbase\", \"ntsecapi\", \"windef\", \"winioctl\"]","target":2709041430195671023,"profile":12637318739757120569,"path":586291675267867002,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/winapi-902fda229f357508/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":16266002775178098827,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"","target":0,"profile":0,"path":0,"deps":[[11200738327577307306,"build_script_build",false,15521672856113091533]],"local":[{"RerunIfChanged":{"output":"debug/build/winapi-e8a8bbc7f9af2e08/output","paths":["build.rs"]}},{"RerunIfEnvChanged":{"var":"WINAPI_NO_BUNDLED_LIBRARIES","val":null}},{"RerunIfEnvChanged":{"var":"WINAPI_STATIC_NOBUNDLE","val":null}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/build/ntapi-316dd0cd34bc7701/build_script_build-316dd0cd34bc7701: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/ntapi-0.3.7/build.rs
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/build/ntapi-316dd0cd34bc7701/build_script_build-316dd0cd34bc7701.d: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/ntapi-0.3.7/build.rs
/home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/ntapi-0.3.7/build.rs:
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/build/ntapi-9230e21f5839acfb/out
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/build/winapi-902fda229f357508/build_script_build-902fda229f357508: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/build.rs
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/build/winapi-902fda229f357508/build_script_build-902fda229f357508.d: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/build.rs
/home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/build.rs:
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1,3 @@
cargo:rerun-if-changed=build.rs
cargo:rerun-if-env-changed=WINAPI_NO_BUNDLED_LIBRARIES
cargo:rerun-if-env-changed=WINAPI_STATIC_NOBUNDLE
@@ -0,0 +1 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/build/winapi-e8a8bbc7f9af2e08/out
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/Allocate_With_Syscalls-4cd643635a8b76c4.rmeta: src/main.rs
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/Allocate_With_Syscalls-4cd643635a8b76c4.d: src/main.rs
src/main.rs:
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/Allocate_With_Syscalls-7ea791726b5d8997.rmeta: src/main.rs
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/Allocate_With_Syscalls-7ea791726b5d8997.d: src/main.rs
src/main.rs:
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/ntapi-be7d0fc4269e4b38.rmeta: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/ntapi-0.3.7/src/lib.rs
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/ntapi-be7d0fc4269e4b38.d: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/ntapi-0.3.7/src/lib.rs
/home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/ntapi-0.3.7/src/lib.rs:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/winapi-297234c50d73bde7.rmeta: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/src/lib.rs
/home/nariod/Dev/Rust/OffensiveRust/Allocate_With_Syscalls/target/rls/debug/deps/winapi-297234c50d73bde7.d: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/src/lib.rs
/home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/src/lib.rs:
@@ -0,0 +1 @@
{"rustc_fingerprint":11954453672835432746,"outputs":{"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.58.1 (db9d1b20b 2022-01-20)\nbinary: rustc\ncommit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b\ncommit-date: 2022-01-20\nhost: x86_64-unknown-linux-gnu\nrelease: 1.58.1\nLLVM version: 13.0.0\n","stderr":""},"2797684049618456168":{"success":false,"status":"exit status: 1","code":1,"stdout":"","stderr":"error: `-Csplit-debuginfo` is unstable on this platform\n\n"},"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/nariod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""}},"successes":{}}
@@ -0,0 +1,3 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by cargo.
# For information about cache directory tags see https://bford.info/cachedir/
@@ -0,0 +1 @@
{"rustc_fingerprint":11954453672835432746,"outputs":{"931469667778813386":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/nariod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"2797684049618456168":{"success":false,"status":"exit status: 1","code":1,"stdout":"","stderr":"error: `-Csplit-debuginfo` is unstable on this platform\n\n"},"17598535894874457435":{"success":true,"status":"","code":0,"stdout":"rustc 1.58.1 (db9d1b20b 2022-01-20)\nbinary: rustc\ncommit-hash: db9d1b20bba1968c1ec1fc49616d4742c1725b4b\ncommit-date: 2022-01-20\nhost: x86_64-unknown-linux-gnu\nrelease: 1.58.1\nLLVM version: 13.0.0\n","stderr":""}},"successes":{}}
@@ -0,0 +1,3 @@
Signature: 8a477f597d28d172789f06886806bc55
# This file is a cache directory tag created by cargo.
# For information about cache directory tags see https://bford.info/cachedir/
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[]","target":6319579908522866429,"profile":7309141686862299243,"path":1684066648322511884,"deps":[[11200738327577307306,"winapi",false,12852696653381750887]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/EnableDebugPrivileges-10c31c9d1e9ff684/dep-bin-EnableDebugPrivileges"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[]","target":6319579908522866429,"profile":1021633075455700787,"path":1684066648322511884,"deps":[[11200738327577307306,"winapi",false,12852696653381750887]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/EnableDebugPrivileges-49f246e2682c6a31/dep-test-bin-EnableDebugPrivileges"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
67d0ab7e82f35db2
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[\"processthreadsapi\", \"securitybaseapi\", \"winbase\", \"winnt\"]","target":1607490174094055910,"profile":3735503092003429423,"path":8497993870064310280,"deps":[[11200738327577307306,"build_script_build",false,8238794110395542548]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/winapi-0d7a8fe9004729f6/dep-lib-winapi"}}],"rustflags":[],"metadata":16266002775178098827,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"","target":0,"profile":0,"path":0,"deps":[[11200738327577307306,"build_script_build",false,15227634502277250124]],"local":[{"RerunIfChanged":{"output":"debug/build/winapi-6cb48858d26c655f/output","paths":["build.rs"]}},{"RerunIfEnvChanged":{"var":"WINAPI_NO_BUNDLED_LIBRARIES","val":null}},{"RerunIfEnvChanged":{"var":"WINAPI_STATIC_NOBUNDLE","val":null}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
@@ -0,0 +1 @@
{"rustc":9289672224281493355,"features":"[\"processthreadsapi\", \"securitybaseapi\", \"winbase\", \"winnt\"]","target":2709041430195671023,"profile":12637318739757120569,"path":586291675267867002,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/winapi-aef45091150f5328/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":16266002775178098827,"config":2202906307356721367,"compile_kind":0}
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1 @@
This file has an mtime of when this was started.
@@ -0,0 +1,3 @@
cargo:rerun-if-changed=build.rs
cargo:rerun-if-env-changed=WINAPI_NO_BUNDLED_LIBRARIES
cargo:rerun-if-env-changed=WINAPI_STATIC_NOBUNDLE
@@ -0,0 +1 @@
/home/nariod/Dev/Rust/OffensiveRust/EnableDebugPrivileges/target/rls/debug/build/winapi-6cb48858d26c655f/out
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/EnableDebugPrivileges/target/rls/debug/build/winapi-aef45091150f5328/build_script_build-aef45091150f5328: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/build.rs
/home/nariod/Dev/Rust/OffensiveRust/EnableDebugPrivileges/target/rls/debug/build/winapi-aef45091150f5328/build_script_build-aef45091150f5328.d: /home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/build.rs
/home/nariod/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.9/build.rs:
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/EnableDebugPrivileges/target/rls/debug/deps/EnableDebugPrivileges-10c31c9d1e9ff684.rmeta: src/main.rs
/home/nariod/Dev/Rust/OffensiveRust/EnableDebugPrivileges/target/rls/debug/deps/EnableDebugPrivileges-10c31c9d1e9ff684.d: src/main.rs
src/main.rs:
@@ -0,0 +1,5 @@
/home/nariod/Dev/Rust/OffensiveRust/EnableDebugPrivileges/target/rls/debug/deps/EnableDebugPrivileges-49f246e2682c6a31.rmeta: src/main.rs
/home/nariod/Dev/Rust/OffensiveRust/EnableDebugPrivileges/target/rls/debug/deps/EnableDebugPrivileges-49f246e2682c6a31.d: src/main.rs
src/main.rs:

Some files were not shown because too many files have changed in this diff Show More