-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDeagle.bat
86 lines (66 loc) · 2.65 KB
/
Deagle.bat
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
:: :: :: :: :: :: :: :: :: ::
:: ::
:: D E S E R T ::
:: E A G L E ::
:: --- ::
:: VERSION 2.0 ::
:: ::
:: :: :: :: :: :: :: :: :: ::
:: Coded by Jihed Kdiss
:: linkedin.com/in/jihedkdiss
@echo off
title Deagle
mkdir DeagleLogs
cls
echo.
echo D e a g l e [36mV2[0m System Scanner for Windows
echo [36m[4mVersion 2.1[0m[0m
echo.
if %os%==Windows_NT goto :StartScan
goto NOCON
goto :StartScan
:PrintDateTime
echo -------------- & date /T & time /T & echo %computername% & echo --------------
exit /b 0
:NOCON
echo [41m ERROR [0m Invalid OS detected. No actions were made. Closing...
echo.
pause
goto END
:StartScan
echo [41m WARNING [0m Deagle Console launched. Please do not close.
echo.
echo [[46m[30m Scanning system - Please wait [0m[0m] [[7m[33m Computer: %computername% [0m[0m]
echo.
call :PrintDateTime >> .\DeagleLogs\assoc.txt
ASSOC >> .\DeagleLogs\assoc.txt
echo Associations = [[42m[30m Saved [0m[0m] [32mDeagleLogs\assoc.txt[0m
call :PrintDateTime >> .\DeagleLogs\ipconfig.txt
IPCONFIG /ALL >> .\DeagleLogs\ipconfig.txt
echo IP Configuration = [[42m[30m Saved [0m[0m] [32mDeagleLogs\ipconfig.txt[0m
call :PrintDateTime >> .\DeagleLogs\ftype.txt
FTYPE >> .\DeagleLogs\ftype.txt
echo Extensions = [[42m[30m Saved [0m[0m] [32mDeagleLogs\ftype.txt[0m
call :PrintDateTime >> .\DeagleLogs\path.txt
PATH >> .\DeagleLogs\path.txt
echo Path = [[42m[30m Saved [0m[0m] [32mDeagleLogs\path.txt[0m
call :PrintDateTime >>.\DeagleLogs\set.txt
SET >>.\DeagleLogs\set.txt
echo Environment Vars = [[42m[30m Saved [0m[0m] [32mDeagleLogs\set.txt[0m
call :PrintDateTime >> .\DeagleLogs\scquery.txt
SC QUERY >> .\DeagleLogs\scquery.txt
echo Services = [[42m[30m Saved [0m[0m] [32mDeagleLogs\scquery.txt[0m
call :PrintDateTime >> .\DeagleLogs\tasklist.txt
TASKLIST >> .\DeagleLogs\tasklist.txt
echo Running Tasks = [[42m[30m Saved [0m[0m] [32mDeagleLogs\tasklist.txt[0m
call :PrintDateTime >> .\DeagleLogs\systeminfo.txt
SYSTEMINFO >> .\DeagleLogs\systeminfo.txt
echo Configuration = [[42m[30m Saved [0m[0m] [32mDeagleLogs\systeminfo.txt[0m
call :PrintDateTime >> .\DeagleLogs\driverquery.txt
DRIVERQUERY >> .\DeagleLogs\driverquery.txt
echo Driver Query = [[42m[30m Saved [0m[0m] [32mDeagleLogs\driverquery.txt[0m
echo.
pause
cls
goto END
:END