Skip to content

Instantly share code, notes, and snippets.

/error.rb Secret

Created June 14, 2017 12:29
Show Gist options
  • Save anonymous/c42ce868fffa87f296f4c9f257e9afe5 to your computer and use it in GitHub Desktop.
Save anonymous/c42ce868fffa87f296f4c9f257e9afe5 to your computer and use it in GitHub Desktop.
# consider this:
Base = '/state/partition1/APPSEC/APKMirror/'
GL = "/state/partition1/home/17100148/paper93/artifact/binary"
# and this
if !(File.exist?("#{Base}#{appname}/#{appname}.yml"))
puts "File doesnt exist!"
File.open("#{Base}#{appname}/#{appname}.yml", "w") do |file|
file.write(YAML::dump(cflArray(appname)))
end
end
# and this error:
/state/partition1/home/17100148/Malware/DroidInfer_Wrapper.rb:28:in `
initialize': No such file or directory @ rb_sysopen - /state/partition1/APPSEC/APKMirror/1Password_-_Password_Manager_6.5.BETA-9_
(Errno::ENOENT) /1Password_-_Password_Manager_6.5.BETA-9_ .yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment