Pario TechnoBlob
About
Posts
Posts
nslookup-scan of IP-range/subnet
#!/bin/bash # nslookup-scan of IP-range # It's possible to add more networks separated with space NETS="192.168.0" IPRange="1 254" for NET in $NETS; do for...
Hints and Tips for general shell script programming
WARNING: this will fail if the user is playing with $0 For example using a symbolic or hard link with a unexpected name. # Simplest... # PROGNAME=
type $0 | awk '{print $3}'
#...
Blocking Image Bandwidth Theft/Hotlinking with URL Rewriting
You can stop others from hotlinking your site’s files by placing a file called
.htaccess
in your Apache site root (main) directory. The period before the name means the file...
Check if a URL exists/is online
Function to check if a URL is online/exists. function is_valid_url($url){ $url = @parse_url($url); if (!$url) { return false; } $url = array_map('trim', $url); $url['port'] =...
««
«
1
2
3
…
74
75
76
…
126
»
»»