forked from laudarch/Shellsploit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.py
41 lines (36 loc) · 1.16 KB
/
report.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#------------------Bombermans Team---------------------------------#
#Author : B3mB4m
#Concat : [email protected]
#Project : https://github.com/b3mb4m/Shellsploit
#LICENSE : https://github.com/b3mb4m/Shellsploit/blob/master/LICENSE
#------------------------------------------------------------------#
import random
import subprocess
import urllib
import re
import sys
import os
import time
import platform
import ctypes
def reporter( reportinfo):
#2F-[Future Features Beta]
#For a while I'm working on 'REPORT' system, for help shellsploit users.
#If you need help, please sent us report logs.
#This is will be part of shellsploit project ..
filenname = str(random.randint(99999,99999999))+".txt"
with open(filenname,"w") as report:
reportinfo = """
//Project : https://github.com/b3mb4m/Shellsploit
//This file created with shellsploit ..
//%s - %s
//Python version: %s
//Platform: %s
//Machine: %s
%s
""" % (time.strftime("%d/%m/%Y"), time.strftime("%H:%M:%S"),
sys.version.split('\n')[0],platform.machine(),platform.platform(),
logs)
print "\n\tLogs are saved : %s\n" % (os.getcwd()+os.sep+filename)
report.write(reportinfo)
report.close()