Social Icons


Pages

Showing posts with label dos or cmd. Show all posts
Showing posts with label dos or cmd. Show all posts

LIST C & C++ PYTHON JAVA CODING CONTEST SITE SASP.NET Links

LIST C & C++ PYTHON JAVA CODING CONTEST SITE SASP.NET Links

LIST OF IMPORTANT SITES AND LINKS
---------------------------------------------------------------------------------





FOR C & C++:

------------------------------------------
1) http://www.cprogramming.com/
2) http://www.cpp4u.com/
3) http://www.codingunit.com/
4) http://www.mycfiles.com/
------------------------------------------
For <More Information >
https://www.facebook.com/groups/396848660346039


---------------------------------------------------------------------------------

FOR PYTHON:
------------------------------------------
1) http://www.docs.python.org/tutorial
2) www.learnpython.org
3) www.learnpythonthehardway.org
-------------------------------------------
For <More Information >
https://www.facebook.com/groups/396848660346039



---------------------------------------------------------------------------------

FOR WEB:
------------------------------------------
1) http://www.w3schools.com
2) http://tutorialspoint.com/
3) http://www.istutorials.com/
4) http://net.tutsplus.com/
5) http://webdesign.tutsplus.com/
------------------------------------------
For <More Information >


---------------------------------------------------------------------------------

FOR VIDEO TUTORIAL
------------------------------------------
1) http://www.learnerstv.com/ (video tutorials of all subjects)
2) http://javabrains.koushik.org/ (introductory videos for J2EE)


Design Patterns -> 
Please add other channels/playlists which have good tutorials on Java technologies so that it will be helpful for everyone.
------------------------------------------
For <More Information >


---------------------------------------------------------------------------------

TOP CODING CONTEST SITES: 
-----------------------------------------------------
1) https://facebook.interviewstreet.com/recruit/challenges
2) http://www.facebook.com/hackercup/ (for facebook)
3) http://code.google.com/codejam (for google)
4) http://www.codechef.com/
5) http://codeforces.com/
6) http://www.topcoder.com/
----------------------------------------------------------------------------------------------------
For <More Information >


---------------------------------------------------------------------------------






FOR SOURCE CODE:
-----------------------------------------------------------
1) http://www.codejaw.com (for code sharing and code hosting)
2) http://www.codeguru.com/
3) http://www.sourcecodesworld.com (source code mini project)
4) http://www.codeproject.com/ (Free source code and tutorials for Software developers and Architects)

-----------------------------------------------------------
For <More Information >


---------------------------------------------------------------------------------








---------------------------------------------------------------------------------
Facebook Helper Group


Or More Information 
Join This Group New Updated Always Here 24/hrs online admin 











How Do i See Hidden Files, Using DOS.or cmd


Simple and useful tip
******************


at command prompt just type
dir /ah
if the list is too long u can use
dir /ah/p/w
*******************

How to Hack A Lan Connaction helpe This Command

                                                            HACK LAN
hack lane




How to Hack A  Lan Connaction helpe This Command
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:

CODE

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.
CODE
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.
QUOTE
 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.p…p;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.
CODE
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.
QUOTE
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.
Hack Lan



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)



8) nbtstat : This command will show you the netbios name of the target box.
CODE
nbtstat -A x.x.x.x (x is the IP address)
nbtstat -a computername
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.
CODE
whatevercommand /help
CODE
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.

CMD Prompt here, add to folder context menu windows 7 and Xp



                           First Step

Adding some extra features in the right click menu is a good practice to ease your work and save the time. You can add several items like Command prompt, Copy the contents to clipboard, CopyTo, MoveTo in your right click context menu in Windows7. These additions obviously will benefit you by saving your time. Let’s discuss about the methods one by one. All the methods described in this article are based on registry editing. So back up your registry before editing and keep yourself on the safe side

                                                   2nd Step

Add “Open Command Prompt in This Folder” option

When you work in Command Prompt, many time you need to change the directory and generally you use the command “cd directory path”. If the file is in the deep of your hard disk then repeating the task to change any directory is quite boring. You can add an entry in the right click menu by which you can open the command prompt directly in the folder, just right clicking on it. Here is the simple registry tweak.

Press Windows key + R. Type “regedit” to open the registry.



Navigate to HKEY_CLASSES_ROOT\Directory\shell in the registry editor.


Create a new key under “shell” and name it “Command Prompt”.




In the right pane modify the value of “Default” by right clicking on it and then “Modify“. In the “Value data” field write “Command Prompt here”.

Similarly create another new key under the key “Command Prompt’ and name it as “command“.

Select the new key you’ve just created and modify “Default” similarly and put the following code in the “Value data” field.

cmd.exe /k cd %1





 Now close your registry editor and right click on any folder. You should see the “Command Prompt here” option.

 After choosing the option the command prompt will appear with the file path pointing to that folder.


                                  3rd Step

Add “Copy the content to clipboard” option

Suppose you want to copy the whole text of the notepad document and paste it in MS Word document. So you will have to open the notepad file and then select all the text and then copy. But all the jobs can be done by just right clicking on the notepad file and and selecting the “Copy to clip” item.

Navigate to HKEY_CLASSES_ROOT\txtfile\shell in the registry editor.

Create a new key under shell and name it “Copy to clip”, following the same procedure as the previous case. In the right pane modify the value of “Default” and you can give any thing meaningful that will appear in the right click menu, say “Copy the contents to clipboard”.

Again create another new key under “Copy to clip” and name it “command“. Right click on “Default”, click on “Modify” and put the following code in “Value data” field

cmd /c clip < “%1”


 Right click on any text file and choose  “Copy the content to clipboard”. The content of the file is now copied in the clipboard.
Now you can paste the content in any application.

                             4th Step

Add “CopyTo” option

Navigate to HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers in the registry editor

Right click on ContextMenuHandlers and choose “New->Key”. 




Give the name of the key as “CopyTo”.

Double click on the value named as “Default” in the right side. Enter the following code including the braces in the “Value data” field.

{C2FBB630-2971-11D1-A18C-00C04FD75D13}




The CopyTo item will be added in the right click menu. Now right click on any file or folder and chose “CopyTo”. The following pop-up box will appear.


You can choose here the location where you want to copy the file or folder.

Add “SendTo” option

To add MoveTo item in the right click menu navigate to the same key as described above.
Create a new key in the similar way and give the name as “MoveTo”.
Similarly put the following code in the “Value data” field.
{C2FBB631-2971-11D1-A18C-00C04FD75D13}

See that the MoveTo item has been added to the right click menu.


All the procedures described in this article works for Windows 7, Vista as well as Windows XP.
Enjoy!





                                        

how to speed up win 2000 bootmenu

Tips:  speed up win 2000 bootmenu

http://mastermindloltricks.blogspot.in


Speed up the Boot Menu (#1)

Tired of waiting thirty seconds to boot Windows 2000 if you don't select from the boot menu? Speed up the booting process by only showing the available operating systems for just a couple of seconds.

Right-click "My Computer" on the desktop and choose "Properties". On the "System Properties" multi-tabbed dialog box that follows, click "Advanced". Click the "Startup and Recovery..." button. Then, on the "Startup and Recovery" dialog box that follows, next to "Display list of operating systems for ... seconds", select the number of seconds that you want the computer to wait before continuing with the default OS. When you're done, press "OK" to close the dialog box.

Desktop Disappearing? (#2)

Although Windows 2000 is more stable than previous versions of NT, in some situations, strange things can happen. If, for example, Explorer crashes, most of your desktop, including the "Start" button, disappears. To bring back Explorer without rebooting your machine, press CONTROL-ALT-DELETE. When the "Windows Security" dialog box appears, click the "Task Manager" button. If the "Windows Task Manager' dialog box appears as it should, select the "File" menu and then "New Task (Run)". When the "Create New Task" dialog box appears, just type in "Explorer" and press the "OK" button. Windows Explorer should then reappear, complete with the "Start" button.

Change Process Priority (#3)

Is a particular program or process running too fast or too slow? Is a program or process taking too much of your CPU time or can you allow a process or program to take more of your computing power? To change these settings for a particular process, just right-click on an empty area of your taskbar and choose "Task Manager..." On the "Windows Task Manager" dialog box that follows, select a process and right-click it. On the popup menu that appears, select "Set Priority" and choose one of the following priorities: "Realtime", "High", "Above Normal", "Normal", "Below Normal", or "Low". The lower the priority is on the popup menu, the lower percentage of CPU time will be delegated to said priority.

Note that depending on the process and your administrative rights to your machine, you may not be able to change a particular process's priority.Put the Desktop in your Taskbar (#4)

Do you frequently multi task? If so, all of the windows created by running applications can quickly cover your desktop. If you'd like, you can make the desktop icons immediately accessible from your taskbar. Just right-click an empty area of your taskbar, choose "Toolbars", and check "Desktop". Your desktop icons will then be immediately accessible without having to minimize your current windows. If you have a lot of desktop icons, click on the two greater-than arrows (">>") to the right of your desktop icons and a popup menu will appear allowing you to select from any of the available desktop icons not immediately visible on your taskbar.

Changing DOS Window Titles (#5)

If you use DOS a lot, you may frequently have more than one DOS window open at once. Perhaps you'll have one a window for FTP, one for debugging a batch file, one for doing basic tasks such as displaying directories, etc. If so, it can get very confusing navigating between the different DOS windows since each of their titles just say "Command Prompt". If you'd like, you can change the titles of a DOS window so you can easily see what tasks you are performing in each window.

To change the title of a Windows 2000 command prompt window, just enter in the TITLE command, followed by your desired window title. For example, to name a DOS window "Debugging Window", just enter the following command at a DOS prompt:

TITLE Debugging Window

Save the Current Directory Name (#6)

Windows 2000 lets you temporarily store the name of the current directory that you are in, letting you recall the directory name later after you are doing other processing. This may be useful if you are jumping around DOS directories a lot, either manually or through a batch file.

To store the name of the current directory, or rather, to PUSH the name of the current directory onto the stack, enter the PUSHD command followed by the name of a directory that you would like to access next. For example, if you are in the "C:\Program Files" directory and want to push that directory name onto the stack, jumping to the C:\WINNT" directory, enter:

PUSHD C:\WINNT

After you are done working in the "C:\WINNT" directory and ready to go back to the "C:\Program Files" directory, don't type in "CD C:\Program Files", just POP the old directory from the stack by entering:

How Check For Dos/cmd, Check to see if you are infected.



When you first turn on you computer (BEFORE DIALING INTO YOUR ISP),
open a MS-DOS Prompt window (start/programs MS-DOS Prompt).
Then type netstat -arn and press the Enter key.
Your screen should display the following (without the dotted lines
which I added for clarification).

-----------------------------------------------------------------------------
Active Routes:

  Network Address          Netmask                   Gateway Address          Interface    Metric
  127.0.0.0                       255.0.0.0                 127.0.0.1                      127.0.0.1      1
  255.255.255.255            255.255.255.255    255.255.255.255           0.0.0.0         1

Route Table

Active Connections

  Proto  Local Address          Foreign Address        State

--------------------------------------------------------------------------------

If you see anything else, there might be a problem (more on that later).
Now dial into your ISP, once you are connected;
go back to the MS-DOS Prompt and run the same command as before
netstat -arn, this time it will look similar to the following (without
dotted lines).

-------------------------------------------------------------------------------------

Active Routes:

  Network Address       Netmask               Gateway Address        Interface             Metric
     0.0.0.0                     0.0.0.0                  216.1.104.70             216.1.104.70      1
     127.0.0.0                 255.0.0.0              127.0.0.1                   127.0.0.1            1
     216.1.104.0             255.255.255.0      216.1.104.70             216.1.104.70      1
     216.1.104.70           255.255.255.255  127.0.0.1                   127.0.0.1            1
     216.1.104.255         255.255.255.255  216.1.104.70             216.1.104.70      1
     224.0.0.0                 224.0.0.0              216.1.104.70             216.1.104.70      1
     255.255.255.255     255.255.255.255   216.1.104.70            216.1.104.70      1

Route Table

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:0                    0.0.0.0:0              LISTENING
  TCP    216.1.104.70:137      0.0.0.0:0              LISTENING
  TCP    216.1.104.70:138      0.0.0.0:0              LISTENING
  TCP    216.1.104.70:139      0.0.0.0:0              LISTENING
  UDP    216.1.104.70:137      *:*      

--------------------------------------------------------------------------------

What you are seeing in the first section (Active Routes) under the heading of
Network Address are some additional lines. The only ones that should be there
are ones belonging to your ISP (more on that later). In the second section
(Route Table) under Local Address you are seeing the IP address that your ISP
assigned you (in this example 216.1.104.70).

The numbers are divided into four dot notations, the first three should be
the same for both sets, while in this case the .70 is the unique number
assigned for THIS session. Next time you dial in that number will more than
likely be different.

To make sure that the first three notation are as they should be, we will run
one more command from the MS-DOS window.
From the MS-DOS Prompt type tracert /www.yourispwebsite.com or .net
or whatever it ends in. Following is an example of the output you should see.

---------------------------------------------------------------------------------------

Tracing route to /www.motion.net [207.239.117.112]over a maximum of 30 hops:
1  128 ms  2084 ms  102 ms  chat-port.motion.net [216.1.104.4]
2  115 ms  188 ms  117 ms  chat-core.motion.net [216.1.104.1]
3  108 ms  116 ms  119 ms  www.motion.net [207.239.117.112]

Trace complete.

------------------------------------------------------------------------------------------

You will see that on lines with the 1 and 2 the first three notations of the
address match with what we saw above, which is a good thing. If it does not,
then some further investigation is needed.

If everything matches like above, you can almost breath easier. Another thing
which should you should check is programs launched during startup. To find
these, Click start/programs/startup, look at what shows up. You should be
able to recognize everything there, if not, once again more investigation is
needed.

-------------------------------------------------------------------------------------------

Now just because everything reported out like we expected (and demonstrated
above) we still are not out of the woods. How is this so, you ask? Do you use
Netmeeting? Do you get on IRC (Internet Relay Chat)? Or any other program
that makes use of the Internet. Have you every recieved an email with an
attachment that ended in .exe? The list goes on and on, basically anything
that you run could have become infected with a trojan. What this means, is
the program appears to do what you expect, but also does just a little more.
This little more could be blasting ebay.com or one of the other sites that
CNNlive was talking about.
http://mastermindloltricks.blogspot.in/
What can you do? Well some anti-virus software will detect some trojans.
Another (tedious) thing is to start each of these "extra" Internet programs
one at a time and go through the last two steps above, looking at the routes
and connection the program uses. However, the tricky part will be figuring
out where to tracert to in order to find out if the addresses you see in
step 2 are "safe" or not. I should forewarn you, that running tracert after
tracert, after tracert might be considered "improper" by your ISP. The steps
outlined above may not work exactly as I have stated depending upon your ISP,
but with a true ISP it should work. Finally, this advise comes with NO
warranty and by following my "hints' you implicitly release me from ANY and
ALL liability which you may incur.


 Other options

Display protocol statistics and current TCP/IP network connections.
Netstat [-a] [-e] [-n] [-s] [-p proto] [-r] [intervals]


-a.. Display all connections and listening ports.
-e.. Display Ethernet statistics. This may be combined with the -s option.
-n.. Diplays address and port numbers in the numerical form.
-p proto..Shows connections for the protocol specified by proto; proto may be
TCP or UDP. If used with the -s option to display per-protocol statistics,
proto may be TCP, UDP, of IP.
-r.. Display the routing table.
-s.. Display per-protocol statistics. By default, statistics are shown for TCP

UDP and IP; the -p option may be used to specify a subset of the default
interval..Redisplay selected statistics, pausing intervals seconds between each
display. If omitted. netstat will print the current configuration information
once