Wednesday, August 31, 2011

Http, FTP SMTP Port Testing using Telnet

- Online Port Testing :  http://ping.eu/
- Free port ping utility
Cross-platform TCP port testing
Command Line Port Scanner

HTTP Port Testing using Telnet
telnet www.somesite 80
GET /index.html HTTP/1.1
Host: www.somesite.com
(Note: you need to press enter twice at the end)
SMTP Port Testing using Telnet
telnet myserver.domain.25
helo myserver.domain.com
mail from:
rcpt to:
data
subject: This is a test mail
to: recipientname@mydomain.com
This is the text of my test mail.
.
quit
    .

FTP Port Testing using Telnet
telnet ftp.ietf.org 21
USER anonymous
PASS blogger@webdigi.co.uk
CWD
PASV
RETR ftpext-test.txt
QUIT

Tuesday, August 30, 2011

Net Share

REM Interactive Net Share bat file
@echo Off
SET Choice=
SET /P Choice="Do you want to Share [C:\temp]? [Y,N] : "
IF /I '%Choice%'=='Y' GOTO Yes
IF /I '%Choice%'=='N' GOTO No
goto Label2
:Yes
Echo Creating share........
net share bipin="C:\temp"
goto end
:No
Echo Deleting share.......
net share bipin /delete
goto end
:end

- Creating network drives with a batch file
net use z: \\computername, ip-add\sharename /persistent:no /user:username password
or
net use z: \\laptop\network /persistent:no
- Hide your computer from the network
net config server /HIDDEN:YES
- How to know which folders are shared
At command prompt: Rundll32.exe ntlanui.dll,ShareManage
 - Hiding shared folders from the network
Add a dollar-sign ($) at the end of the share name

Work Virus

The centre for Disease Control Board has issued a medical alert about a highly dangerous virus called "Weekly Overload Recreational Killer" (WORK).

If you see anyone infected by WORK, don't go near him/her. The virus will wipe out your private life entirely.

If you come in contact with this WORK, you should immediately take at least two of your friends to the nearest
"Biological Anxiety Relief" (BAR) centre to take 1 or both of the antidotes known as
"Work Isolating Neutralier Extract" (WINE),
"Radioactive UnWORK Medicine"(RUM),
"Bothersome Employer Elimination Rebooter"(BEER),
"Vaccino Offico Depression Killing Antigen"(VODKA)
and continue its dosage till WORK is eliminated from your system completely.

Please forward this message to all your friends and save their lives.

Issued in Public Interest by
"Buddies for Eradication of Work Disease Association" (BEWDAs)

What bird are you ?

21 Jan - 17 Feb
Robin
cid:image001.jpg@01C9E2E2.91944770
A cool exterior disguises a fiery temper and is very opinionated - although those opinions are not always shared by everyone. They are proud and particularly home-loving, although have a tendency to be quarrelsome.

18 Feb - 17 March
Goldfinch
cid:image002.jpg@01C9E2E2.91944770
Goldfinch people are colorful characters who are sensitive and always alert. They are gregarious by nature and love being in groups of people, which offers them security. They need to find an outlet for their imaginative abilities or they are sometimes be in danger of becoming nervous and irritable. 

18 March - 14 April
Hawk
cid:image003.jpg@01C9E2E2.91944770
A powerful individual which displays courage and a sometimes ruthless determination. Avoids problematical obstacles with skill, although must be fully targeted so as not to waste energy in fruitless chases for the impossible. 

15 April - 12 May
Albatross
cid:image004.jpg@01C9E2E2.91944770
Has a tendency to have a mind that wanders, but when in search of a particular goal, will travel great lengths to achieve it. Occasionally, the albatross may become caught up in things it shouldn't when not seeing clearly enough.
e
Dove
cid:image005.jpg@01C9E2E2.91944770
Peace-loving by nature, doves will bill and coo about things close to their heart. They enjoy a fulfilling love-life and rarely fail to satisfy. They are also patient, adaptable and personable. Their lack of aggression sometimes makes them the victim of more predatory characters. 

10 June- 7 July
Eagle
cid:image006.jpg@01C9E2E2.91944770
A well-respected figure which has excellent visionary qualities. Eagles will truck no nonsense and will fix opponents with a powerful stare. They have the power to rise above the trivial aspects of humanity, and are highly tal ented.

8 July- 4 August
Nightingale
cid:image007.jpg@01C9E2E2.91944770
More often heard before being seen, nightingales always have something to say for themselves. They are however very much in tune with their partners. Their unimpressive exterior hides a personality that is just waiting to burst out.



5 August - 1 Sept
Kingfisher
cid:image008.jpg@01C9E2E2.91944770
Another flamboyant and colorful character that is always exciting to encounter. They rush around at great speed and have a close spiritual affinity with water. They have a sharp and perceptive head on them, but can make them impetuous enough to dive in where others would fear to go.

2 Sept - 29 Sept
Swan
cid:image009.jpg@01C9E2E2.91944770
The swan is a complex character. While appearing on the surface as a calm and relaxed individual, underneath they are working hard to keep up with the pace of modern life. If provoked their natural graceful demeanor can give way to a violent temper which puts them in a flap. They are definitely someone to have on your side. 

30 Sept - 27 Oct
Woodpecker
cid:image010.jpg@01C9E2E2.91944770
A tough, hard-working character with plenty of stamina. Has no problem drumming up support for their ideas, no matter how wacky they seem. With a lateral-thinking mind they are skilled at dissecting problems and seeing the wood for the trees. However, with their noisy and exuberant lifestyle, you might not want to have one as a neighbor. 


28 Oct - 24 Nov
Kestrel
cid:image011.jpg@01C9E2E2.91944770
A sharp brain helps kestrel people hover from one subject to another without losing concentration. They focus on their life's goal with a single-minded focus, not flustered by what is going on around them. A confidence in their own ability helps them to soar to heights others may only dream of. 

25 Nov - 23 Dec
Raven
cid:image012.jpg@01C9E2E2.91944770
Always impressive, raven people are a tower of strength. They are more intelligent than their peers and are adept problem-solvers. They enjoy challenges are stimulated by wild and exposed places. 

24 Dec - 20 Jan
Heron
cid:image013.jpg@01C9E2E2.91944770
Heron people may be solitary individuals for much of the time, they nevertheless have a need to settle in busy communities where they know everyone else. They may get bogged down as they wade the course of life, but have broad enough shoulders to cope with weighty issues. But their insecure nature often leads them to fish for compliments.

Fix "Show desktop" icon

- Save below line as "Show desktop.scf"
- Click and then drag the Show desktop icon to your Quick Launch toolbar
- %userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

Folder Locker

- Save below line as bat file and run,
- Locker name folder is created,
- Put everthing, You want to hide,
- And again run the bat file.
- It will hide the locker folder and it will associate bat file as Control Panel.
- Again run bat file to unlock the folder.
- Change Password as you like.

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==007 here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End