add executable files

This commit is contained in:
Hung-Chi Su 2015-09-09 21:04:57 +08:00
parent 02dc55cfef
commit 272c5e33f0
1 changed files with 13 additions and 0 deletions

13
bin/patch_alarm.rb Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env ruby
#
require 'rubypwn'
if __FILE__ == $0
if ARGV.size != 1
puts "%s binary" % $0
end
filename = ARGV[0]
e = Elf.new filename
pp e.sections[".dynstr"]
end