質問編集履歴
6
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,10 @@
|
|
5
5
|
64ビットのWindows 10で、DLLインジェクションをしようとしています。
|
6
6
|
|
7
7
|
[https://github.com/katahiromz/SimpleDLLInjection](https://github.com/katahiromz/SimpleDLLInjection)
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
CMakeLists.txtファイルがあるので、CMakeでビルドして下さい。
|
8
12
|
|
9
13
|
|
10
14
|
|
5
Hackを削除。
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
4
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,10 +40,12 @@
|
|
40
40
|
|
41
41
|
ソースはこちらです。
|
42
42
|
|
43
|
-
https://github.com/katahiromz/SimpleDLLInjection/blob/master/payload/payload.cpp
|
43
|
+
[https://github.com/katahiromz/SimpleDLLInjection/blob/master/payload/payload.cpp](https://github.com/katahiromz/SimpleDLLInjection/blob/master/payload/payload.cpp)
|
44
44
|
|
45
|
-
https://github.com/katahiromz/SimpleDLLInjection/blob/master/injector/injector.cpp
|
45
|
+
[https://github.com/katahiromz/SimpleDLLInjection/blob/master/injector/injector.cpp](https://github.com/katahiromz/SimpleDLLInjection/blob/master/injector/injector.cpp)
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
+
この中に間違いがあると思われます。
|
50
|
+
|
49
51
|
よろしくお願いします。
|
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,4 +36,14 @@
|
|
36
36
|
|
37
37
|
GetLastErrorの戻り値は、ゼロになりました。
|
38
38
|
|
39
|
+
|
40
|
+
|
41
|
+
ソースはこちらです。
|
42
|
+
|
43
|
+
https://github.com/katahiromz/SimpleDLLInjection/blob/master/payload/payload.cpp
|
44
|
+
|
45
|
+
https://github.com/katahiromz/SimpleDLLInjection/blob/master/injector/injector.cpp
|
46
|
+
|
47
|
+
|
48
|
+
|
39
49
|
よろしくお願いします。
|
2
GetLastErrorの戻り値を補記。
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
dll_path: C:\Users\katahiromz\Documents\Dev\SimpleDLLInjection\build\payload32.dll
|
26
26
|
|
27
|
-
LoadLibraryA failed
|
27
|
+
LoadLibraryA failed: 0, 0
|
28
28
|
|
29
29
|
DllInjectByPid failed
|
30
30
|
|
@@ -34,4 +34,6 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
+
GetLastErrorの戻り値は、ゼロになりました。
|
38
|
+
|
37
39
|
よろしくお願いします。
|
1
失敗したときの出力を追加。
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,4 +14,24 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
原因がわかりません。
|
17
|
+
原因がわかりません。失敗したときの出力は以下の通りです。
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
```text
|
22
|
+
|
23
|
+
$ ./build/injector32.exe -e pictbear.exe
|
24
|
+
|
25
|
+
dll_path: C:\Users\katahiromz\Documents\Dev\SimpleDLLInjection\build\payload32.dll
|
26
|
+
|
27
|
+
LoadLibraryA failed
|
28
|
+
|
29
|
+
DllInjectByPid failed
|
30
|
+
|
31
|
+
failed
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
よろしくお願いします。
|