These are a list of usages of shell commands I can't live without on UNIX-based systems.
Using Homebrew (yes, I am opinionated) you can install the following tools with the following packages:
<?php session_start(); ?> | |
<?php | |
if (empty($_SESSION['path'])) { | |
$_SESSION['user'] = shell_exec('whoami'); | |
$_SESSION['host'] = shell_exec('hostname'); | |
$_SESSION['path'] = dirname(__FILE__); | |
} | |
function showInfo($cmd) { | |
$user = $_SESSION['user']; |
17:53:06 worker.1 | [-] dns_brute_sub: Hit exception: no address for ns221.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for ns222.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for us.m11.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for us.m12.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for us.m21.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for us.m22.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for w11.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for w12.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for w21.yahoo.com | |
17:53:07 worker.1 | [-] dns_brute_sub: Hit exception: no address for w22.yahoo.com |
module Intrigue | |
module Scanner | |
class RecursiveDnsBrute < Intrigue::Scanner::Base | |
private | |
### Main "workflow" function | |
# | |
def _recurse(entity, depth) |
===== config.ru | |
require 'api' # Loads the app(s) | |
map("/v1/component_a") do | |
run Sinatra.new(Pwnix::ComponentA) | |
end | |
map("/v1/component_b") do | |
run Sinatra.new(Pwnix::ComponentB) |