Skip to content

theguly/gpattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

born as fork of https://github.com/ickerwx/pattern

renamed as gpattern to avoid confusion

main differences:

  • by default, the script creates
  • you can use anything that starts with c to create, and with o to find offset (i'm lazy...)
  • you can specify pattern length both in decimal and hex (thanks phra)
  • you can specify badchars as last arg using for example a three hex string like 0x41,\x42,43 ( this works just by expliciting create)

examples:

  • ./gpattern c 60 # creates the same pattern
  • ./gpattern create 60 # creates the same pattern
  • ./gpattern c 0x3C # creates the same pattern
  • ./gpattern c 0x3C 0x41,0x42 # creates a pattern given badchars 0x41 and 0x42
  • ./gpattern 60 # creates the same pattern
  • ./gpattern o a1Aa # given a default len of 8192, find offset for given pattern
  • ./gpattern off a1Aa # same as above
  • ./gpattern off a1Aa 10000 # same as above, but given a pattern len 10000
  • ./gpattern off a1Aa 0x8000 # same as above, but given a pattern len 0x8000
  • ./gpattern off a1Ca 0x8000 41,42 # same as above, but given a pattern len 0x8000 AND two badchars 0x41 0x42

About

python version of msfpattern

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages