Skip to content

Instantly share code, notes, and snippets.

View shayanzare007's full-sized avatar

ViRuS007 shayanzare007

  • Stanford University
  • Palo Alto, CA
View GitHub Profile
@shayanzare007
shayanzare007 / run hide program.vbs
Created February 24, 2017 09:10
run any program or batch file hide
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run("C:\yourbatch.bat"), 0, True
@shayanzare007
shayanzare007 / search_in_txt.rb
Created November 21, 2016 12:07
search in text file
#!/usr/bin/ruby
File.open("License.txt") do |f| #open file
f.each_line do |line|
text = [/sh/, /123/] #array for searching
if line =~ text[0] || text[1] #searching in file
puts "[+] Found License: #{line}" #puts founding word
else
puts "[+] License is not found!"
end