*Please note that this is for educational purposes ONLY*
CMD HACKING COMMANDS
I am Sure u guys Know All these commands.... I want to Help The Beginers.. So i am Posting This....
Useful Things to do on CMD!
First, open your Network Connection and right click and select Properties. Then Select TCP/IP and click on Properties again. Now Click on Advanced and WINS tab. Select Default for NeBIOS.
Now back to the main Local Area Connection window, select File and Print Sharing for Mic*ft Networks and hit enter.
This is just to make sure you have NetBIOS enabled. We will have some fun with NetBIOS on CMD.
First thing you need to know is some very helpfull commands to use on CMD(Command Prompt).
In case you don't know how to get CMD open in your box, then click on Start, then Run, then type "cmd" (no quotes, off course... you know the drill).
Back to commands:
nslookup
net view
net use
net user
ping
tracert
arp
route
nbtstat
netstat
ipconfig
In case you don't know some of them, then just type the command on CMD and hit enter. A little help will show up in your screen. Read it and understand what the command does.
Lets start easy...
1) ping : This command will allow you to know if the host you pinging is alive, which means if it is up at the time of executing the "ping" command.
ping x.x.x.x (x is the IP address)
or
ping www.whatever.com (www.whatever.com is the website you want to ping, but you don't know the IP)
OBS: Keep in mind that if the host you pinging is blocking ICMP packets, then the result will be host down.
2) nslookup : This command has many functionalities.
One is for resolving DNS into IP.
Lets say you know the website URL but you don't know its IP(and you want to find out).
nslookup www.whatever.com (www.whatever.com is the website you want to find out the IP)
Now, another really nice function of nslookup is to find out IP of specific Mail Severs
nslookup (enter)
set type=mx (enter)
yahoo.com
This command will give you the mail server IP of yahoo.com. You can use whatever server you want and if it is listed on DNS, then you get the IP. Simple, isn't it?
OK, now why would you want to have an IP of a mail server?
To send spoofed mail to your friends or even for SE.
In case you looking for "How to spoof email", then look for my "How to spoof email tutorial" http://www.infowar.com/forums/showthread.php?s=&threadid=2360
3) tracert : This command will give you the hops that a packet will travel to reach its final destination.
OBS: This command is good to know the route a packet takes before it goes to the target box.
tracert x.x.x.x (x is the IP address)
or
tracert www.whatever.com (www.whatever.com is the website you don't know the IP)
4) arp : This command will show you the arp table. This is good to know if someone is doing arp poisoning in your LAN.
arp -a
5) route : This command will show you the routing table, gateway, interface and metric.
Code:
route print
6) ipconfig : This command will show tons of very helpful things.
Your IP, gateway, dns in use.
Code:
ipconfig
or
Code:
ipconfig /all
this command will give all that info but for all networks you might have it.
Also, in case you have a dynamic IP and want to change it, then type...
Code:
ipconfig /release (this will release your IP)
ipconfig /renew (this will renew your iP)
OBS: Keep in mind that those commands will change your IP, but the new IP will still be tighed up to you. So don't do anything stupid.
7) netstat : This command will show you connection to your box.
Code:
netstat
or
Code:
netstat -a (this will show you all the listening ports and connection with DNS names)
netstat -n (this will show you all the open connection with IP addresses)
netstat -an (this will combined both of the above)
net view x.x.x.x or computername (will list the available sharing folders on the target box)
Now some hints:
Code:
net use \ipaddressipc$ "" /user:administrator
(this command will allow you to connect to the target box as administrator)
Now if you want to connect to the target box and browse the entire C drive, then use this command:
Code:
net use K: \computernameC$
(this will create a virtual drive on your "my computer" folder)
OBS: Keep in mind that this will only works if the target box doesn't have an administrator password set.
And least but not last, the "help" command.
Quote:
whatevercommand /help
or
Quote:
whatevercommand /?
This command will help you to understand what it does and all the switchs available for each command.
Very useful if you know the command, but forgot the right switch.
*DO ALL AT UR OWN RISKS*
Search This Blog
Saturday, 2 July 2011
Enable / disable regedit if disabled by a virus part 2
'Enable/Disable Registry Editing tools
'© Dagas Incoporation - rev XX/XX/11
Option Explicit
'Declare variables
Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
Dim enab, disab, jobfunc, itemtype
Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
p = p & "DisableRegistryTools"
itemtype = "REG_DWORD"
mustboot = "Log off and back on, or restart your pc to" & vbCR & "effect the changes"
enab = "ENABLED"
disab = "DISABLED"
jobfunc = "Registry Editing Tools are now "
'This section tries to read the registry key value. If not present an
'error is generated. Normal error return should be 0 if value is
'present
t = "Confirmation || Dagas Incoporation"
Err.Clear
On Error Resume Next
n = WSHShell.RegRead (p)
On Error Goto 0
errnum = Err.Number
if errnum <> 0 then
'Create the registry key value for DisableRegistryTools with value 0
WSHShell.RegWrite p, 0, itemtype
End If
'If the key is present, or was created, it is toggled
'Confirmations can be disabled by commenting out
'the two MyBox lines below
If n = 0 Then
n = 1
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 154096, t)
ElseIf n = 1 then
n = 0
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 154096, t)
End If'Save this as regtools.vbs
Monday, 27 June 2011
How to re-enable regedit when it has been disabled by a virus.
Activating regedit (Enable/Disable registry tools)
This is the first registry tip we'll give, since you'll kinda need it if you want to use our other registry tweaks ;).
The MeRegValueue
The following MeRegValueues lock the registry editing tools when they are set to 1 (they are DWORD MeRegValueues) :
HKCU\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools for the cuMeRegReadent user and
HKLM\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools for all users (doesn't work on Windows XP though).
However, once one of them has been set to 1, you can't use regedit to simply remove them. So, here are 3 methods.
The methods
1. A reg file !
Tested and working on Win 2k, not working on Win XP.
You simply need to create and launch the following reg file :
REGEDIT4
[HKEY_CUMeRegReadENT_USER\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System]
"DisableRegistryTools"=-
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System]
"DisableRegistryTools"=-
But well, they finally blocked that in Windows XP ;)
2. A VBS (Visual Basic Script)
Tested and working on Win 2k and XP.
In notepad, copy/paste the following script, and save the file with a .vbs extension, then run it :
NB: Dont't scan the file after saving unless you have finished using it cause it is actually a trojan script for good but your antivirus will delete it if you scan even if it is for a good purpose.
'Enable/Disable Registry Editing tools
'© Dagas incoporation - rev xx/xx/11
'This code may be freely distributed/modified as long as it remains free of charge
'Coded by Gabriel Dagadu (dagas)
Option Explicit
'Declare variables
Dim MeWSHShell, MeRegRead, MeRegRead2, MeDiaBox, MeRegValue, MeRegValue2, MeComfirm, MeToggle
Dim MeJobFunc, MeItemType
On EMeRegReador Resume Next
Set MeWSHShell = WScript.CreateObject("WScript.Shell")
MeRegValue = "HKCU\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools"
MeRegValue2 = "HKLM\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools"
MeItemType = "REG_DWORD"
MeJobFunc = "Registry Editing Tools are now "
MeComfirm = "Result"
'reads the registry key MeRegValueue.
MeRegRead = MeWSHShell.RegRead (MeRegValue)
MeRegRead2 = MeWSHShell.RegRead (MeRegValue2)
MeToggle=1
If (MeRegRead=1 or MeRegRead2=1) Then MeToggle=0
If MeToggle = 1 Then
MeWSHShell.RegWrite MeRegValue, 1, MeItemType
MeWSHShell.RegWrite MeRegValue2, 1, MeItemType
MeDiaBox = MsgBox(MeJobFunc & "disabled.", 4096, MeComfirm)
Else
MeWSHShell.RegDelete MeRegValue
MeWSHShell.RegDelete MeRegValue
MeDiaBox = MsgBox(MeJobFunc & "enabled.", 4096, MeComfirm)
End If
3. Use a modified regedit
A modified regedit.exe from Windows 2000 (French) and Windows XP (English). These cracked regedits are completely insensitive to any key trying to prevent them from running. You can have them here :
mpam4_regedit_2k.exe (35 KiB, Win 2k, French):
http://www.patheticcockroach.com/mpam4/dl.php?id=13
mpam4_regedit_XP.exe (143 KiB, Win XP, English):
http://www.patheticcockroach.com/mpam4/dl.php?id=14
Well, now you must have found your way to unlock your regedit, see you on other tweaks.
This is the first registry tip we'll give, since you'll kinda need it if you want to use our other registry tweaks ;).
The MeRegValueue
The following MeRegValueues lock the registry editing tools when they are set to 1 (they are DWORD MeRegValueues) :
HKCU\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools for the cuMeRegReadent user and
HKLM\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools for all users (doesn't work on Windows XP though).
However, once one of them has been set to 1, you can't use regedit to simply remove them. So, here are 3 methods.
The methods
1. A reg file !
Tested and working on Win 2k, not working on Win XP.
You simply need to create and launch the following reg file :
REGEDIT4
[HKEY_CUMeRegReadENT_USER\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System]
"DisableRegistryTools"=-
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System]
"DisableRegistryTools"=-
But well, they finally blocked that in Windows XP ;)
2. A VBS (Visual Basic Script)
Tested and working on Win 2k and XP.
In notepad, copy/paste the following script, and save the file with a .vbs extension, then run it :
NB: Dont't scan the file after saving unless you have finished using it cause it is actually a trojan script for good but your antivirus will delete it if you scan even if it is for a good purpose.
'Enable/Disable Registry Editing tools
'© Dagas incoporation - rev xx/xx/11
'This code may be freely distributed/modified as long as it remains free of charge
'Coded by Gabriel Dagadu (dagas)
Option Explicit
'Declare variables
Dim MeWSHShell, MeRegRead, MeRegRead2, MeDiaBox, MeRegValue, MeRegValue2, MeComfirm, MeToggle
Dim MeJobFunc, MeItemType
On EMeRegReador Resume Next
Set MeWSHShell = WScript.CreateObject("WScript.Shell")
MeRegValue = "HKCU\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools"
MeRegValue2 = "HKLM\Software\Microsoft\Windows\CuMeRegReadentVersion\Policies\System\DisableRegistryTools"
MeItemType = "REG_DWORD"
MeJobFunc = "Registry Editing Tools are now "
MeComfirm = "Result"
'reads the registry key MeRegValueue.
MeRegRead = MeWSHShell.RegRead (MeRegValue)
MeRegRead2 = MeWSHShell.RegRead (MeRegValue2)
MeToggle=1
If (MeRegRead=1 or MeRegRead2=1) Then MeToggle=0
If MeToggle = 1 Then
MeWSHShell.RegWrite MeRegValue, 1, MeItemType
MeWSHShell.RegWrite MeRegValue2, 1, MeItemType
MeDiaBox = MsgBox(MeJobFunc & "disabled.", 4096, MeComfirm)
Else
MeWSHShell.RegDelete MeRegValue
MeWSHShell.RegDelete MeRegValue
MeDiaBox = MsgBox(MeJobFunc & "enabled.", 4096, MeComfirm)
End If
3. Use a modified regedit
A modified regedit.exe from Windows 2000 (French) and Windows XP (English). These cracked regedits are completely insensitive to any key trying to prevent them from running. You can have them here :
mpam4_regedit_2k.exe (35 KiB, Win 2k, French):
http://www.patheticcockroach.com/mpam4/dl.php?id=13
mpam4_regedit_XP.exe (143 KiB, Win XP, English):
http://www.patheticcockroach.com/mpam4/dl.php?id=14
Well, now you must have found your way to unlock your regedit, see you on other tweaks.
Location:
Ghana
How to unlock a huawei modem.
TOPIC: HACK YOUR HUAWEI MODEM TO PIC ANY CHIP
WHAT U NEED:
1.Mobile partner installation
2.Huawei unlocker
3.Huawei modem code writer
STEP:
1.Download Mobile partner installation : http://www.panatar.com/mobile_partner_voice_ussd.zip
2.Download Huawei unlocker:
https://www.dropbox.com/s/dfv3fwjdbz4bm6l/Huawei%20Unlocker%201.1.rar
3.Download Huawei modem code writer:
https://www.dropbox.com/s/h99o9om4v7gknxi/HUAWEI%20MODEM%20Code%20Writer.exe
USE OF THE TOOLS:
1.Huawei modem code writer: Use this software to generate unlock and flashing code by inputing the IMEI number found at the back of the modem.
2.Huawei unlocker: Use this software to unlock the modem by inputing the unlock code generated from Huawei modem code writer software,you can copy and paste
3.Mobile partner installation : Use this software to replace the existing one found on the modem by installing it,remember to uninstal the previous software before opening this software package.
NOTE BEHING:
1.This adds calling functionality to your modem,thus you can now make and receive calls via your modem
2.This also increses connection speed to 7.2 Mbs
U CAN NOW USE ANY CHIP IN YOUR MODEM,MAKE AND RECEIVE CALLS AND BROWSE AT A FASTER SPEED, ENJOY !!!!!!!!
WHAT U NEED:
1.Mobile partner installation
2.Huawei unlocker
3.Huawei modem code writer
STEP:
1.Download Mobile partner installation : http://www.panatar.com/mobile_partner_voice_ussd.zip
2.Download Huawei unlocker:
https://www.dropbox.com/s/dfv3fwjdbz4bm6l/Huawei%20Unlocker%201.1.rar
3.Download Huawei modem code writer:
https://www.dropbox.com/s/h99o9om4v7gknxi/HUAWEI%20MODEM%20Code%20Writer.exe
USE OF THE TOOLS:
1.Huawei modem code writer: Use this software to generate unlock and flashing code by inputing the IMEI number found at the back of the modem.
2.Huawei unlocker: Use this software to unlock the modem by inputing the unlock code generated from Huawei modem code writer software,you can copy and paste
3.Mobile partner installation : Use this software to replace the existing one found on the modem by installing it,remember to uninstal the previous software before opening this software package.
NOTE BEHING:
1.This adds calling functionality to your modem,thus you can now make and receive calls via your modem
2.This also increses connection speed to 7.2 Mbs
U CAN NOW USE ANY CHIP IN YOUR MODEM,MAKE AND RECEIVE CALLS AND BROWSE AT A FASTER SPEED, ENJOY !!!!!!!!
Subscribe to:
Posts (Atom)