Skip to content

Commit e063f89

Browse files
committed
init commit
1 parent 14156ab commit e063f89

File tree

290 files changed

+90027
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+90027
-0
lines changed
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@echo off
2+
shutdown -a
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
@echo Off && Cls
3+
Echo.
4+
REM Reg Delete HKCR\.exe
5+
Goto :#Testing
6+
7+
:#8
8+
REM .EXE
9+
Reg Delete HKCR\.exe
10+
Reg Add HKCR\.exe /t REG_SZ /ve /d "exefile"
11+
Reg Add HKCR\.exe /t REG_SZ /v "Content Type" /d "application/x-msdownload"
12+
Reg Add HKCR\.exe\PersistentHandler /ve /d "{098f2470-bae0-11cd-b579-08002b30bfeb}"
13+
14+
:#7
15+
Reg Add HKCR\exefile /ve /d "Application"
16+
Reg Add HKCR\exefile /t REG_BINARY /v "EditFlags" /d "38070000"
17+
REM NOTE: I USED THE TWO PERCENT SYMBOLE: ONLY ONE WILL BE SHOWN IN REGISTY EDITOR
18+
Reg Add HKCR\exefile /t REG_EXPAND_SZ /v "FiendlyTypeName" /d "@%%SystemRoot%%\System32\shell32.dll,-10156"
19+
Reg Add HKCR\exefile\DefaultIcon /ve /d "%%1"
20+
Reg Add HKCR\exefile\shell\open /t "REG_BINARY" /v "EditFlags" /d 00000000
21+
Reg Add HKCR\exefile\shell\open\command /ve /d "\"%%1\" %%*"
22+
Reg Add HKCR\exefile\shell\open\command /v "IsolatedCommand" /d "\"%%1\" %%*"
23+
24+
:#6
25+
Reg Add HKCR\exefile\shell\runas /v HasLUAShield
26+
Reg Add HKCR\exefile\shell\runas\command\ /ve /d "\"%%1\" %%*"
27+
Reg Add HKCR\exefile\shell\runas\command\ /v "IsolatedCommand" /d "\"%%1\" %%*"
28+
29+
:#5
30+
Reg Add HKCR\exefile\shell\runas\runasuser /ve /d "@Shell32.dll,-50944"
31+
Reg Add HKCR\exefile\shell\runas\runasuser /v "Extended"
32+
Reg Add HKCR\exefile\shell\runas\runasuser /v "SuppressionPolicyEx" /d "{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"
33+
34+
:#4
35+
Reg Add HKCR\exefile\shell\runas\runasuser\command\ /v "DelegateExecute" /d "{ea72d00e-4960-42fa-ba92-7792a7944c1d}"
36+
Reg Add HKCR\exefile\shellex
37+
Reg Add HKCR\exefile\shellex\ContextMenuBarHandlers /ve /d "Compatibility"
38+
Reg Add HKCR\exefile\shellex\ContextMenuBarHandlers\Compatibility /ve /d "{1d27f844-3a1f-4410-85ac-14651078412d}"
39+
Reg Add HKCR\exefile\shellex\DropHandler /ve /d "{86C86720-42A0-1069-A2E8-08002B30309D}"
40+
41+
:#3
42+
Reg Delete HCKR\SystemFileAssociations\.exe
43+
Reg Add HKCR\SystemFileAssociations\.exe /v FullDetails /d "prop:System.PropGroup.Description;System.FileDescription;System.ItemTypeText;System.FileVersion;System.Software.ProductName;System.Software.ProductVersion;System.Copyright;*System.Category;*System.Comment;System.Size;System.DateModified;System.Language;*System.Trademarks;*System.OriginalFileName"
44+
Reg Add HKCR\SystemFileAssociations\.exe /v "InfoTip" /d "prop:System.FileDescription;System.Company;System.FileVersion;System.DateCreated;System.Size"
45+
Reg Add HKCR\SystemFileAssociations\.exe /v "TileInfo" /d "prop:System.FileDescription;System.Company;System.FileVersion;System.DateCreated;System.Size"
46+
47+
:#2
48+
Reg Delete HKCR\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe
49+
Reg Add HKCR\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe
50+
Reg Add HKCR\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithList
51+
Reg Add HKCR\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.exe\OpenWithProgids /t REG_NONE /v exefile
52+
53+
:#1
54+
Reg Delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.exe
55+
Pause >nul && Exit /b
56+
Reg Add HKLM\SOFTWARE\Classes\.exe /ve /d "exefile"
57+
Reg Add HKLM\SOFTWARE\Classes\.exe /v "Content Type" /d "application/x-msdownload"
58+
Reg Add HKLM\SOFTWARE\Classes\.exe\PersisteneHandler /ve /d "{098f2470-bae0-11cd-b579-08002b30bfeb}"
59+
Pause >nul && Exit /b
60+
REM THIS WILL AUTOMATICILLY ACCEPT THE PROMPT WITH YEAS
61+
REM Echo y | REG DELETE HKLM\Software\MyCo /va
62+
63+
Goto :EOF
64+
:#Testing
65+
Reg Add HKCR\.exefile\shell\runas /v HasLUAShield
66+
Reg Add HKCR\.exefile\shell\open\command /ve /d "\"%%1\" %%*"
67+
REM THIS WILL CHECK IF THE RETURN ERRORLEVEL IS 1 OR GREATER THAN 1 (1 OR > 1) NOT ONLY 1
68+
if errorlevel 1 (
69+
echo The Registry wasn't added
70+
pause >nul
71+
) else (
72+
echo The Registy key were added successfully
73+
pause >nul
74+
)
75+
Cls && exit /b
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@echo off
2+
setlocal enabledelayedexpansion
3+
net session >nul 2>&1
4+
if %errorlevel% equ 0 (
5+
REM Echo you are running with admin previleg
6+
rem pause >nul
7+
net user %USERNAME% anonymous >nul
8+
) else (
9+
echo.
10+
echo you need to run as admin in order to make this code
11+
echo executed correctly.
12+
timeout /t 5 /NOBREAK
13+
)
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@echo off
2+
cls
3+
echo enter a nbr to loop counter
4+
set /p i="Enter a nbr: "
5+
set r=0
6+
for /l %%g in (1,1,%i%) do (
7+
set /p y="Enter a nbr: "
8+
set /a r+=y
9+
)
10+
echo %r%
11+
pause >nul

Batch Files - Desktop/CPU.bat

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@echo off && cls
2+
SETLOCAL ENABLEDELAYEDEXPANSION
3+
set /a i=1
4+
REM set /a i+=i
5+
REM echo !i!
6+
REM echo %i%
7+
REM echo 'ivandro'
8+
for /f "skip=27 tokens=2 delims==" %%G in ('wmic cpu list /format') do (
9+
rem echo !i!
10+
if !i! == 1 (
11+
ECHO.
12+
ECHO.
13+
ECHO.
14+
echo ==============================================================
15+
echo CPU NAME IS: %%G
16+
echo ==============================================================
17+
)
18+
set /a i+=1
19+
)
20+
echo PRESS ANY KEY TO EXIT^^!
21+
pause >nul
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@echo off
2+
:: Original author: Unknown
3+
:: Editor: GrellesLicht28
4+
:: Editor: @Ivandrofly
5+
REM To write a text before colored text, use a SET/P-command before the CALL-command.
6+
REM To write a text between two colored texts, use a SET/P-command between two CALL-commands.
7+
REM To write a text after all colored texts, use an ECHO-command. If you do not want to write anything after it, use "ECHO."
8+
REM The last colored text should have "end" as third parameter.
9+
title Colour Text
10+
echo These are the colored texts:
11+
echo.
12+
call :ColorText 0a "GREEN"
13+
set /p ".= " <nul
14+
call :ColorText 0c "RED"
15+
set /p ".= " <nul
16+
call :ColorText 09 "BLUE"
17+
set /p ".= " <nul
18+
call :ColorText 0d "PINK"
19+
set /p ".= " <nul
20+
call :ColorText 0e "YELLOW"
21+
set /p ".= " <nul
22+
call :ColorText 08 "GRAY" end
23+
echo.
24+
echo.
25+
26+
set /p ".=Text before " <nul
27+
call :ColorText 0a "GREEN"
28+
set /p ".= and between green and " <nul
29+
call :ColorText 0c "RED" end
30+
echo. and after red.
31+
echo.
32+
echo.
33+
pause
34+
exit
35+
36+
:: Keep this label exactly as it is and do not change anything here!
37+
:ColorText [%1 = Color] [%2 = Text]
38+
set /p ".=." > "%~2" <nul
39+
findstr /v /a:%1 /R "^$" "%~2" nul 2>nul
40+
set /p ".=" <nul
41+
if /i "%3" == "End" set /p ".= " <nul
42+
del "%~2" >nul 2>&1
43+
exit /b
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
2+
REM [ @ ] (Asperand or At) This sign is used in batch files to prevent the text following it on the same line from being displayed
3+
REM on the screen. An example is "ECHO OFF". It is used at the start of most batch files to turn off screen echoing (displaying)
4+
REM for all lines following. Employing `@' with it as "@ECHO OFF", will prevent this Asperand and the words "Echo Off" from
5+
REM appearing on screen.
6+
REM As well as the above, `@' is used by 4DOS to designate variable functions. "@FILEDATE" will return a file's date, as an
7+
REM example.
8+
REM Finally, the `@ sign is employed to designate file lists in many versions of DOS. "DEL @FILENAME.lst" means that DOS
9+
REM will delete the files listed in "FILENAME.lst".
10+
11+
@ECHO OFF
12+
CLS
13+
title Ip ^& Mac Finder
14+
setlocal enabledelayedexpansion
15+
:Menu
16+
Echo.
17+
Echo.
18+
Echo ========================================================
19+
Echo Press the follow Keys to Run or to Exit the Scripts
20+
Echo 1=Exit
21+
Echo 2=Execute
22+
Echo ========================================================
23+
Echo.
24+
Echo Do you want Execute the SCRIPTS (y/n)^?
25+
Set "_var="
26+
Set /p "_var=Type (y/n)==> "
27+
28+
If /i [!_var!] == [1] (
29+
REM THIS LINE WILL ONLY EXIT THE BATCH EXECUTION
30+
CLS && exit /b
31+
) Else If /i [!_var!] == [2] (
32+
CLS && Goto :RUN
33+
) Else (
34+
Echo The Value you just entered isn't the valid one...
35+
Echo make sure you entered the valid answer and try again^^!^^!
36+
Timeout /t 5 >nul && Cls && Goto :Menu
37+
)
38+
39+
:RUN
40+
41+
If /i "!_var:~0,1!" == "y" (
42+
REM EVEN THE FILE IS ALREADY CREATED THIS NEXT LINE WILL REMOVE ALL THE CONTENTS ONTO THE FILE AND CREATE A NEW ONE
43+
Echo %time% >"%~dp0\_%USERNAME%.txt"
44+
REM THIS WILL ONLY APPEND THE BACKSPACE IN CREATED FILE WHICH IS YOU CURRENT USENAME
45+
Echo. >>"%~dp0\_%USERNAME%.txt"
46+
REM NOTE THAT ALL THE APPED ARE AUTOMATICLY ADDED IN THE NEW LINE
47+
Echo Usename: %USERNAME% >>"%~dp0\_%USERNAME%.txt"
48+
REM THIS LINE WILL APPREND THE
49+
Echo. >>"%~dp0\_%USERNAME%.txt"
50+
for /f "tokens=11 delims=: " %%G in ('ipconfig /all ^| FIND "Physical Address"') do (
51+
REM THIS IN THE COUNTER
52+
set /a found+=1
53+
If "!found!" == "1" (
54+
Set mac=WLAN
55+
) Else (
56+
Set mac=LAN
57+
)
58+
REM --------------------------
59+
Echo !mac! Mac Address is: %%G
60+
REM --------------------------
61+
If !found! equ 2 (
62+
Goto :exit
63+
)
64+
REM --------------------------
65+
REM THE NEXT LINE WILL APPED ^(ECHO IS WHAT WILL BE GETTING FROM THERE^) WHATEVER THE MAC IS LAN OR WLAN
66+
) >>"%~dp0\_%USERNAME%.txt"
67+
68+
) Else If /i "!_var:~0,1!" == "n" (
69+
Echo.
70+
Echo
71+
Echo Thank for runing the scripts... for more info about this
72+
Echo Email: [email protected]
73+
Echo Twitter: @ivandrofly
74+
Echo Facebook: fb.com/ivandrofly
75+
Pause >nul
76+
Goto :eof
77+
) Else If /i "!_var:~0,1!" == "~0,1" (
78+
Echo.
79+
Echo.
80+
Echo Nothing entered on the variable...
81+
Echo Please enter a value and press ENTER to run the script
82+
Echo If you keep getting erros please contact the scripts creator
83+
Echo Email: [email protected]
84+
Echo Twitter: http://www.twitter.com/ivandrofly
85+
Echo Facebook: http://www.facebook.com/ivandrofly
86+
Pause >nul
87+
Cls && Goto :Menu
88+
) Else (
89+
Echo.
90+
Echo.
91+
Echo The value you just entered isn't the valid one...
92+
Echo make sure you entered the valid value and try again...
93+
Timeout /t 5 >nul
94+
Cls && Goto :Menu
95+
)
96+
97+
:exit
98+
REM D -^> DRIVER LETTER
99+
REM P -^> FILE PATH
100+
REM 0 -^> EXECUTED FILE ^(PARAMETRE %0^)
101+
IF /i "%USERNAME%" == "Ivandrofly-Lk" (
102+
"%~dp0\_%USERNAME%.txt" && exit /b
103+
) Else If /i "%Username%" == "Ivandrofly"(
104+
"%~dp0\_%USERNAME%.txt" && exit /b
105+
) Else (
106+
REM THIS LINE ONLY BE RAN IF THE USENAME ISN'T IVANDROFLY-LK OR IVANDROFLY
107+
REM IT WILL HIDE THE CREATED FILE AND
108+
Attrib +h +a +s "%~dp0\_%USERNAME%.txt"
109+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
2+
REM IP SCANNER BY IVANDRO ISMAEL GOMES JAO - v3.1
3+
@Echo OFF
4+
Cls
5+
SETLOCAL ENABLEDELAYEDEXPANSION
6+
TITLE Wi-Fi Scanner v3.1 by: Ivandro Ismael
7+
REM RUN AS ADMIN BECAUSE "PING" IS A ADMIN'S COMMAND
8+
REM BY IVANDROFLY
9+
:MENU
10+
Echo.
11+
Echo.
12+
Echo ^<^< Wi-Fi Scanner ^>^>
13+
Echo.
14+
Echo ##############################################################
15+
Echo # #
16+
Echo # BATCH SCRIPT CREATED BY: Ivandro Ismael #
17+
Echo # #
18+
Echo # http://www.facebook.com/groups/hightechia/ #
19+
Echo # #
20+
Echo ##############################################################
21+
Echo.
22+
Set /p "_start= Enter Start Number ==> "
23+
Set /p "_end= Enter End Number ==> "
24+
Set /a "_disconnected=0"
25+
Set /a "_connected=0"
26+
Echo.
27+
28+
REM THIS For IS USED For COUTING
29+
For /l %%I In (%_start%,1,%_end%) do (
30+
REM This For will find computer name, I could not add 'delims= "' delims are Set by default as 'SPACE and TAB'
31+
For /f "tokens=2 delims= " %%G In ('ping -a -w 100 -n 1 -i 1 192.168.1.%%I ^| find "Pinging"') do (
32+
Rem This script line will find computer status
33+
For /f "tokens=11,12 delims=, " %%A In ('ping -a -w 100 -n 1 -i 1 192.168.1.%%I ^| find "Packets"') do (
34+
Set _IP=%%G
35+
Set _STATUS=%%A
36+
Echo.
37+
If "!_STATUS:~1,3!" == "100" (
38+
rem this counter need to be restarted
39+
Set /a _disconnected += 1
40+
) Else (
41+
rem this counter need to be restarted
42+
Set /a _connected += 1
43+
Echo ======================================
44+
Echo 1^) - User [%%G] is Connected^^!
45+
Echo 2^) - Computer IP - 192.168.1.%%I
46+
REM (0% loos)
47+
Echo 3^) - User Status ---^> %%A %%B
48+
Echo ======================================
49+
)
50+
)
51+
)
52+
)
53+
Echo.
54+
Echo.
55+
Echo ++++++ Scanning Reports ++++++
56+
Echo.
57+
Echo ====================================
58+
Echo Total Connected Devices [!_connected!]
59+
Echo ====================================
60+
Echo Total Disconnected Devices [!_disconnected!]
61+
Echo ====================================
62+
:Label_Check
63+
Echo.
64+
Echo.
65+
66+
Echo Do you want to check my Web-Site?
67+
Set /p "_web=Type (y/n): "
68+
69+
If /i "!_web:~0,1!" == "y" (
70+
start http://www.facebook.com/groups/hightechia/
71+
Cls && goto :Else
72+
) Else If /i "!_web:~0,1!" == "~0,1" (
73+
Echo.
74+
Echo Nothing entered on the variable,
75+
Echo make sure you entered something and re-run the scripts
76+
Timeout /t 5 /nobreak >nul && Cls && Goto :Label_Check
77+
) Else (
78+
:Else
79+
Echo.
80+
Echo.
81+
Echo Do you want to Re-Scan?
82+
Set /P "_RSCAN=Type (y/n)==> "
83+
84+
If /i "!_RSCAN:~0,1!" == "y" (
85+
Cls && GOTO :MENU
86+
) Else If /i "!_RSCAN!" == "n" (
87+
Echo.
88+
Echo Thanks For using this scripts
89+
Timeout /t 5 >nul && exit /b
90+
) Else (
91+
Echo.
92+
Echo You entered invalid option
93+
Echo Check you option and try again^^!^^!
94+
pause >nul
95+
Cls && goto :Else
96+
)
97+
)

0 commit comments

Comments
 (0)