PHP backdoor(level1):
http://logic.smashthestack.org:8181/uploads/PHPJackal.php
Execute cat /home/level1/.bash_history
and find password inside.
#!/usr/bin/env bash | |
# -*- shell-script -*- | |
# cas - c as script | |
# A script which support act C language code as a script. | |
# | |
# Usage: | |
# cas [COMPILE_OPTIONS] [source_file] [EXECUTE_ARGUMENTS] | |
# the source_file should be appoint otherwise it'll use /dev/stdin automically. | |
# |
#!/bin/sh | |
## | |
## This file is for replace the typical init program, do some | |
## pre-checking work before shutting down or other stuff. | |
## | |
## Written by Shou Ya, at 23 June, 2012 | |
## | |
## |
Scheme programs can define and use new derived expression types, called macros. Program-defined expression types have the syntax
(<keyword> <datum> ...)
where is an identifier that uniquely determines the
; -*- scheme -*- | |
(define (derivative expr var) | |
(cond | |
((number? expr) 0) | |
((variable? expr) (if (eq? expr var) 1 0)) | |
((sum? expr) | |
(make-sum (derivative (addend expr) var) | |
(derivative (augend expr) var))) |
x(l,x0) := if equal(l,1) then | |
x0[2] * t - x0[1] * t + x0[1] | |
else | |
expand(x(1,[x(l-1,makelist(x0[i],i,1,length(x0)-1)), | |
x(l-1,makelist(x0[i],i,2,length(x0)))])); | |
usage: | |
factor(x(2,[x[0],x[1],x[2]])); |
1.upto(17) do |x| | |
1.upto(10) do |y| | |
url = "http://media.pearsoncmg.com/intl/ema/9780435074968_" \ | |
"Garry_Wazir/workedsolutions/HL_Exercise_" \ | |
"#{x}.#{y}_Worked_Solutions.pdf" | |
`wget -c #{url}` | |
end | |
url = "http://media.pearsoncmg.com/intl/ema/9780435074968_" \ | |
"Garry_Wazir/workedsolutions/" \ |
\documentclass[a4]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[english]{babel} | |
\usepackage{mla} | |
\begin{document} | |
\begin{mla}{Shou}{Ya}{Nathan Engquist}{Theory of Knowledge}{\today} | |
\phantom{first} |
require 'nokogiri' | |
require 'open-uri' | |
require 'json' | |
if ARGV.length != 2 | |
puts "usage: #{$0} http://www.kting.cn/xxx/xx /path/to/target/dir" | |
exit | |
end |
require 'rest_client' | |
require_relative 'threadpool' | |
require 'ruby-progressbar' | |
HEADERS_HASH = { | |
"User-Agent" => "Mozilla/5.0 (Macintosh; Intel" \ | |
"Mac OS X 10_7_4) AppleWebKit/534.57.5 (KHTML, like Gecko) V" \ | |
"ersion/5.1.7 Safari/534.57.4" | |
} |