aleph
Chris Talib 4 years ago
parent b81dadf028
commit fce58501d4
  1. 11
      convert.sh
  2. 25
      crawdl.rb
  3. 12
      dl_images.rb
  4. 4
      livehosts.sh

@ -0,0 +1,11 @@
#/bin/bash
for file in *;
do
base=${file%.*}
if [ ! -f $base.csv ]; then
echo '[!] Doesnt exists... Creating!'
soffice --headless --convert-to csv $base.xlsx;
fi
done
echo '[*] Done!'

@ -0,0 +1,25 @@
# frozen_string_literal: true
require 'socket'
require 'OpenURI'
puts 'What host?'
host = gets.chomp
host.to_s
puts 'What port?'
port = gets.chomp
port.to_i
puts 'Path?'
path = gets.chomp
path.to_s
open(host) do |f|
f.each_line { |line| p line }
p f.base_uri
p f.content_type
p f.charset
p f.content_encoding
p f.last_modified
end

@ -0,0 +1,12 @@
# frozen_string_literal: true
require 'nokogiri'
require 'open-uri'
puts 'what to crawl'
url = gets.chomp
url = url.open
result = URI.extract(url).select { |a| a[/\.(?:gif|png|jpg|jpeg)\b/] }
cmd "wget #{result}"

@ -0,0 +1,4 @@
#!/bin/bash
nmap $1 -n -sP | grep report | awk '{print $5}'
Loading…
Cancel
Save