This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Original castealer.rb with analysis | |
##################################################################################### | |
require 'rubygems' #redundant | |
require 'openssl' | |
require 'digest/md5' #redundant | |
key = OpenSSL::PKey::RSA.new(2048) | |
cipher = OpenSSL::Cipher::AES.new(256, :CBC) #redundant | |
ctx = OpenSSL::SSL::SSLContext.new #redundant |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> openssl-build.bash <== | |
#!/bin/bash | |
set -e -x | |
export CFLAG="-g" | |
export CFLAGS="-g" | |
# Debugging Target | |
# debug-linux-elf-noefence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t = Thread.new do | |
pid = Process.fork do | |
loop do | |
puts "Hi" | |
sleep 0.5 | |
end | |
end | |
puts "Use 'kill -9 #{pid}' to kill me!" | |
Process.wait pid | |
end |
OlderNewer