Skip to content

Commit

Permalink
refactor: usae absolute path in reg patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo23x0 committed Oct 16, 2020
1 parent 80281d3 commit 26b3fd6
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion raccine-reg-patch-bcdedit.reg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\bcdedit.exe]
"Debugger"="Raccine.exe"
"Debugger"="C:\Windows\Raccine.exe"
2 changes: 1 addition & 1 deletion raccine-reg-patch-powershell.reg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\powershell.exe]
"Debugger"="Raccine.exe"
"Debugger"="C:\Windows\Raccine.exe"
5 changes: 0 additions & 5 deletions raccine-reg-patch-uninstall.reg
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vssadmin.exe]
"Debugger"="Raccine.exe"

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wmic.exe]
"Debugger"="Raccine.exe"

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wbadmin.exe]
"Debugger"="Raccine.exe"

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\bcdedit.exe]
"Debugger"="Raccine.exe"

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\powershell.exe]
"Debugger"="Raccine.exe"
2 changes: 1 addition & 1 deletion raccine-reg-patch-vssadmin.reg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vssadmin.exe]
"Debugger"="Raccine.exe"
"Debugger"="C:\Windows\Raccine.exe"
2 changes: 1 addition & 1 deletion raccine-reg-patch-wbadmin.reg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wbadmin.exe]
"Debugger"="Raccine.exe"
"Debugger"="C:\Windows\Raccine.exe"
2 changes: 1 addition & 1 deletion raccine-reg-patch-wmic.reg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wmic.exe]
"Debugger"="Raccine.exe"
"Debugger"="C:\Windows\Raccine.exe"
2 changes: 1 addition & 1 deletion raccine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ int wmain(int argc, WCHAR* argv[]) {
killprocess(pids[i - 1], 1);
}

wprintf(L"Raccine v0.7.1 finished\n");
wprintf(L"Raccine v0.7.2 finished\n");
Sleep(5000);
}
//
Expand Down

0 comments on commit 26b3fd6

Please sign in to comment.