Showing posts with label Windows_CMD. Show all posts
Showing posts with label Windows_CMD. Show all posts

Tuesday, March 17, 2015

Recover email passwords from email client.(Mail PassView).


Mail PassView is a small password-recovery tool that reveals the passwords and other account details for the following email clients:

  • > Outlook Express
  • > Microsoft Outlook 2000 (POP3 and SMTP Accounts only)
  • > Microsoft Outlook 2002/2003/2007/2010/2013 (POP3, IMAP, HTTP and SMTP Accounts)
  • > Windows Mail
  • > Windows Live Mail
  • > IncrediMail
  • > Eudora
  • > Netscape 6.x/7.x (If the password is not encrypted with master password)
  • > Mozilla Thunderbird (If the password is not encrypted with master password)
  • > Group Mail Free
  • > Yahoo! Mail - If the password is saved in Yahoo! Messenger application.
  • > Hotmail/MSN mail - If the password is saved in MSN/Windows/Live Messenger application.
  • > Gmail - If the password is saved by Gmail Notifier application, Google Desktop, or by Google Talk.
 
For each email account, the following fields are displayed: Account Name, Application, Email, Server, Server Type (POP3/IMAP/SMTP), User Name, and the Password. 

Known Problems - False virus alert

Some Antivirus programs detect Mail PassView utility as infected with Trojan/Virus. 


To visit official website click here.

Enjoy and Stay Connected!

Tuesday, January 20, 2015

icacls - Display or modify permission for files and folders using windows command prompt.


We can Display or modify Access Control Lists (ACLs) or permission for files and folders using windows command prompt too.Access Control Lists can be only applied to files stored on an NTFS formatted drive.

Each ACL specify which users (or groups of users) can read or edit the file. 
When a new file is created it normally inherits ACL's from the folder where it was created.

For Vista and above use icacls.
NOTE: Cacls is now deprecated, please use Icacls.


SYNTAX :- 

CACLS filename [/T] [/M] [/L] [/S[:SDDL]] [/E] [/C] [/G user:perm] [/R user [...]] [/P user:perm [...]] [/D user [...]]

  filename : Displays ACLs.
  /T : Changes ACLs of specified files in the current directory and all subdirectories.
  /L : Work on the Symbolic Link itself versus the target
  /M : Changes ACLs of volumes mounted to a directory
  /S : Displays the SDDL string for the DACL.
  /S : SDDL Replaces the ACLs with those specified in the SDDL string (not valid with /E, /G, /R, /P, or /D).
  /E : Edit ACL instead of replacing it.
  /C : Continue on access denied errors.
  /G : user:perm Grant specified user access rights.

  •  Perm can be : R Read
  •  W : Write
  •  C  : Change (write)
  •  F : Full control
  /R : user Revoke specified user's access rights (only valid with /E).
  /P : user:perm Replace specified user's access rights.

  •  Perm can be: N None
  •  R Read
  •  W Write
  •  C Change (write)
  •  F Full control
 /D : user Deny specified user access.

 Wildcards can be used to specify more than one file in a command.
 You can specify more than one user in a command.

 Abbreviations :-
 CI - Container Inherit : The ACE will be inherited by directories.
 OI - Object Inherit : The ACE will be inherited by files.
 IO - Inherit Only : The ACE does not apply to the current file/directory.
 ID - Inherited : The ACE was inherited from the parent directory's ACL.
 


EXAMPLE :-

Give everyone read-only permission to a folder

C:\Users\lmntechnohub\Desktop>cacls Music /e /g Everyone:R
processed dir: C:\Users\lmntechnohub\Desktop\Music
 


Remove everyone read-only permission to a folder

C:\Users\lmntechnohub\Desktop>cacls Music /e /R Everyone
processed dir: C:\Users\lmntechnohub\Desktop\Music

Monday, January 12, 2015

ATTRIB Command.

File attributes are settings associated with files that allow or deny certain rights to how a user or the operating system can access that file or folder.

How to adjust the attributes using ATTRIB command in windows.

ATTRIB is used Display or change file attributes in windows.

Syntax
ATTRIB <attribute> <File/directory path>

Attributes :-
+ : Attribute ON (Add attribute)
- : Attribute OFF (Remove attribute)
R : Read-only file attribute.
A : Archive file attribute.
S : System file attribute.
H : Hidden file attribute.
I : Not content indexed file attribute
X : No scrub file attribute.
V : Integrity attribute.
/S : Include all sub-folders.
/D : Include folders as well.
/L : Work on the attributes of the Sym the target of the Symbolic Link

Some other extended attributes :-
E : Encrypted
C : Compressed (128:read-only)
L : Symbolic link/Junction (64:read-only)
N : Normal (0: cannot be used for file selection)
O : Offline
P : Sparse file
T : Temporary

Viewing archive attributes

The Archive attribute (A) is used to identify files that are new or has been modified recently.

Example :-
C:\Users\lmntechnohub\Documents>attrib
A            C:\Users\lmntechnohub\Documents\chat marry.txt
A   H        C:\Users\lmntechnohub\Documents\Default.rdp
A  SH        C:\Users\lmntechnohub\Documents\desktop.ini
A            C:\Users\lmntechnohub\Documents\ip.log
A            C:\Users\lmntechnohub\Documents\Presentation1.ppt
A            C:\Users\lmntechnohub\Documents\win 7.ova



Hide a file :-
Example :-
C:\>attrib +h c:/Users\lmntechnohub\Documents\2015.txt

Unhide a file :-
Example :-
C:\>attrib -h c:/Users\lmntechnohub\Documents\2015.txt

Remove a system file attribute
Example :-
C:\>attrib -h c:/Users\lmntechnohub\Documents\2015.txt

Unhide all files and folder present in a directory and its sub-folders.
Example:-
C:\>attrib -h /s /d *.*

ENJOY! and stay connected.

ASSOC Command.

In Windows have we can view, edit and delete a file association by many methods.

To Know about File Association. Click HERE

One of them is using the ASSOC command (Using CMD)

ASSOC command can be run only from a command prompt.

NOTE: The changes done by ASSOC command are immediately written to the Software registry file. So use this command very carefully.


To display list of all file extensions and their associations.

Example :-
C:\Users\lmtechnohub>assoc

To display the association for a specific file extension,

Syntax
assoc .<file extection>

Example :-
C:\Users\
lmtechnohub>assoc .mp3
.mp3=WMP11.AssocFile.MP3


To change the association for a specific file extension,

Syntax
assoc .<file extention>=<file type>

Example :-
C:\Users\
lmtechnohub>assoc .txt=txtfile
.txt=txtfile


To delete the association for a specific file extension,

Syntax
assoc .<file extention>=

Example :-
C:\Users\
lmtechnohub>assoc .txt=

C:\Users\
lmtechnohub>assoc .txt
File association not found for extension .txt  


To Know about File Association. Click HERE 

Enjoy! and stay connected.