Skip to content

Commit

Permalink
New technique and little bit improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasha Khasaia committed Apr 26, 2017
1 parent bfde8c8 commit e0e9bbf
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 47 deletions.
2 changes: 2 additions & 0 deletions InfectPE/InfectPE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ int main(int argc, char *argv[])
PE::Inject_into_code_tail(PE_file, size_of_pe, xcode, sizeof xcode, outfile); // less suspicious
else if (mode == "resize")
PE::Inject_Resize_Code(PE_file, size_of_pe, xcode, sizeof xcode, outfile);
else if (mode == "new")
PE::Inject_New_Section(PE_file, size_of_pe, xcode, sizeof xcode, outfile);
else
{
std::cout << "Incorrect mode\n";
Expand Down
Loading

0 comments on commit e0e9bbf

Please sign in to comment.