Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code refactoring with bug fixing #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ALXIMIKS
Copy link

Bug: --autobreak flag provide the injection of "int 3" instruction into the shellcode, what could corrupt the shellcode execution.
Solution: set the breakpoint before the jump to shellcode execution.

Bug: --nopause flag doesn't work for x64bit program.
Solution: add the check of --nopause flag for x64bit program.

Code refactoring:

  • code is bit version independent
  • avoided program crashes on shell code execution
  • avoided memory leaks
  • code was refactored

Bug: --autobreak flag provide the injection of "int 3" instruction into the shellcode, what could corrupt the shellcode execution.
Solution: set the breakpoint before the jump to shellcode execution.

Bug: --nopause flag doesn't work for x64bit program.
Solution: add the check of --nopause flag for x64bit program.

Code refactoring:
- code is bit version independent
- avoided program crashes on shell code execution
- avoided memory leaks
- code was refactored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant