​
Showing posts with label folder. Show all posts
Showing posts with label folder. Show all posts

Saturday, 29 July 2017

Creating a folder with limited size

Creating a folder with limited size


To create a folder with fixed size, one of the solutions is to create a limited size filesystem and mount it.

Create a file that will be a container of the filesystem. Just take ANY file on your system that has a suitable size, or create one by
$ dd if=/dev/null of=~/myfs bs=SIZE_OF_BLOCK_IN_BYTES count=SIZE


Format the file with the FS you want
$ mkfs.ext4 ~/myfs
It will say that it creates an FS on a non-block device.



Mount the FS
mount -o loop,rw,usrquota,grpquota ~/myfs  /path/of/mount/point
{ Read More }


Monday, 24 July 2017

Cracking Cleanersoft Free Hide Folder Security

Cracking Cleanersoft Free Hide Folder Security


Introduction

Cleanersoft Free Hide Folder is a "security" tool used to hide your folders. The program uses a simple interface that is protected by a password that lets you hides and unhides selected folders. Our target objectives here will be to find where it is hiding the information about what folders are hidden and recover the password.

Finding where the folder information is stored

Well, We will use the easiest approach, see what files and registry keys the program (fhide.exe) writes to using Process Monitor while hiding a folder (in this case C: est). This should show us where it is writing to and it seems this approach worked out well.


Well, What have we here. We see a file operation on my C: est folder, it renamed the folder "CHKDSK.100��" and that is followed by a registry key creation at "HKCUSoftwareMicrosoftWindowsCurrentVersionNamespacegetPrefix0".

First lets confirm the folder was renamed. since it is hidden I will run the command line command "DIR /A:SH CHKDSK.*" (the /A:SH will show hidden and system files and folders). Wow... Its right there, great hiding trick.... is it accessible? Run a "cd CHKDSK.100��". Looks like we can.

Okay, Lets see whats hidden here with a "Dir" command and we see private.txt. Okay, well it should be encrypted right? guess again... "Type private.txt".

Well We are off a bad start for security. But how do we know where these are hidden if we didnt hide them? How can we find them? Well lets check out that registry key. Okay. Lets take a look at the keys here.
  • getPrefix0 = E
  • Declaration0 = X:*XSPWHP.377��
  • Javax0 = X:*gvhg
Hmmm.... Declaration0 and Javax0 both start with X:*, interesting. well. Lets make another hidden folder called C: est123 which becomes CHKDSK.101��. Well, now we have 3 new keys. they are the same names as above but instead we have a one at the end instead of zero.
  • getPrefix1 = E
  • Declaration1 = X:*XSPWHP.373��
  • Javax1 = X:*gvhg321
Okay, Starting to see a pattern. It looks like Declaration is for the new hidden file name. Javax is for what its unhidden name. getPrefix stayed the same. It appears to be a simple substitution cipher. The easy way to figure it out? Well, Let make a folder called C:abcdefghijklmnopqrstuvwxyz1234567890 and put it side by side with encrypted value and we have a key chart ;-).
  • C:abcdefghijklmnopqrstuvwxyz1234567890
  • X:*zyxwvutsrqponmlkjihgfedcba3215894067
Looks like the alphabet is just backwards. "/" becomes "*". The only thing different is the numbers but not that big of a deal, since we now see the key above anyways. So now we can decrypt the Declaration and Javax keys. they point to the folders, both hidden and unhidden names, just as we thought.

The last is the getPrefix key. I had one folder unhidden when I was working and the key value changed to "W". So it seems that "E" means it is hidden, "W" means not hidden. So Id Say we have this down now.

Finding The Password

Last thing to attack is the password for the program (in this case it is "Password"). Lets check more into the registry. There is one more key here:
  • BAR - Kzhhdliw
Surprise. my password and this key are both the same length. the 3rd and 4th characters repeat. Lets just try to decrypt it with our key chart above and... yep, thats our password... So with this information I was able to code a little tool that can exploit this to prove concept for academic reasons (And to only be used for that). I call the tool "Free Unhide Folder" (original huh?).



Resources
CleanerSoft Free Hide Folder:
http://www.cleanersoft.com/hidefolder/free_hide_folder.htm

Substitution cipher:
http://en.wikipedia.org/wiki/Substitution_cipher

Substitution cipher solver:
http://www.purplehell.com/riddletools/applets/cryptogram.htm

Free Unhide Folder (Source[vb.net 2008] and Binary):
http://packetstormsecurity.org/1010-exploits/FreeUnHideFolder.zip

{ Read More }


Friday, 7 July 2017

CREATE CON FOLDER EASILY

CREATE CON FOLDER EASILY



WE CANNOT CREATE THESE FOLDERS
CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more

The reason is that con, aux,clocks, lpt1..lpt9, etc are underlying devices from the time dos was written. so if u r allowed to create such folders, there will be an ambiguity in where to write data when the data is supposed to go to the specified devices. In other words, if i want to print something, internally what windows does is � it will write the data to the folder prn (virtually u can call it a folder, i mean clocks, con, etc are virtual folders in device level). So if we are able to create con folder, windows will get confused where to write the data, to virtual con folder or real one.

STEPS TO CREATE CON FOLDER

We can create the CON folder easily
1. Create a folder and name it as CON
2.Press and hold Alt and type 0160 and press enter it will be done. The CON folder will be created.And you have done.........
{ Read More }


Saturday, 1 July 2017

Create a Undeletable Folder

Create a Undeletable Folder


Undeletable Folder

Hello friends, find a way that if you want to create a folder that can not be removed by any user, who would like to continue. Well, that might seem strange to your friends and say "no".
But to prove otherwise, the nut.
Here are the steps to do so:
1. Open the command prompt (Windows key + R and type cmd and hit enter).

2. Type  cd  (it brings command out to C drive).


3. Now is the tricky part, you have to type this:
md.<YourDrivehere>:con  (Replace YourDriveHere with your desired drive and you can add further pat

Now, ask friends to remove it, and be surprised that the folder can not be deleted. In fact, this is due to the error that Windows can not create a folder named, so you can`t remove a folder that you don`t you create.

However, if you ever want to delete this folder, Do remember that it won`t get deleted by normal deletion but rather by this command:

rd. <YourDrivehere> :con (Replace YourDriveHere with your desired drive and you can add further path too.)

{ Read More }


Monday, 26 June 2017

Create Drives for your desired Folder with Visual Subst

Create Drives for your desired Folder with Visual Subst


Visual Subst for Windows, lets you create, mount, set any folder as Virtual Drive. It lets you access frequently used folders directly from My PC or Computer folder.

Suppose you are working on an project and have placed your project folder in a drive. To access that particular folder you have to go across many folders and sub folders. So, instead of investing time in browsing so many folders, how about creating drives with the name of folders? Using portable Visual Subst freeware for Windows 8 / 7, you can create drives of those folders, which you are currently working on. After creating the drives, these files can be easily accessed. This helps you to open your folders quickly with just one click.

Visual Subst is a small tool that allows you map virtual drives easily. You can associate the most accessed directories with virtual drives using this freeware. It comes with a simple graphical user interface. It is also designed for those who are really fond of using cloud storage software like Dropbox and Google Drive. Visual Subst make it easier for you to create drives and even remove it when not needed.

Visual Subst features

Visual Subst is a very handy tool that comes with handful features making the task of the end user easier. Some of the features worth mentioning are:
  • It is portable
  • Straight forward interface
  • If drive letter is used by another drive, it fixes the error automatically
  • Quick and easy access to frequently used folders
  • Small and handy utility.
Mount and set any folder as Virtual Drive
To mount and set a folder as a drive or to create drives, all you need to do is just to download Visual Subst software from its official website and click on Vsubst to run it.
On the home page, click on the dropdown available at the bottom. Select any letter of your drive where you want to create the folder.
Visual Subst
After selecting the letter for your drive, click on the magnifying glass to browse the folder you want to set as a drive. You can select any folder or even create a new one.
1-create-drives-3
Once you select the folder, click on the bold green icon to create drive of that particular folder.
1-create-drives-4
To see the created drive in the list you can open the Windows File Explorer and check it.
Click here to download Visual Subst. It is fully portable tool as all its settings and configurations are stored in an INI-file.
{ Read More }


Saturday, 24 June 2017

Correct file permissions for var www folder

Correct file permissions for var www folder


The default group and user for /var/www/ folder is root:root. We need to change that, so we are able to set more restricteve permissions on all files under /var/www/.

{ Read More }


Friday, 23 June 2017

Create invisible folder without any Software!

Create invisible folder without any Software!


create invisible folder

Now you can create an invisible folder without any software by just following these steps:


1. Right click on the desktop or in any directory and create a new folder.  
2. Press F2 and rename it with a blank space by pressing ALT + 0160 (Num Lock ON). 
3. Then press Enter key.
4. You can now see a folder without name
5. Now Right click on the folder > Properties > Customize> Change Icon
6. Scroll >> a little "you can find a blank icon, select it.
7. What?  >> Now you have an invisible folder! Without any software.
{ Read More }


Friday, 16 June 2017

Create Folder CON

Create Folder CON


How to Create Folder "CON"

Ever tried to create a folder "CON" or "AUX" or "NUL".

Tried now???  - not working :)

Here you go, a simple method to  stop your anxiety

Rename folder from the right click option........
Now press alt and press 255...
press 255 frm the right side of the key bords i.e, Num pad.
where only numbers are given.....
now write con and then press enter.....yayyy!!
you ll see a con folder in ur pc
and also you can delete it easily.
{ Read More }


Friday, 9 June 2017

Create Folder Files With No Name!

Create Folder Files With No Name!




1) Select any file/folder
2) Click on rename & press f2
3) Press& hold alt key.
while holding the alt key, type the number 0160 from the numpad

NOTE: No. press from right side numpad of the keyboard & then enter.
{ Read More }


Thursday, 8 June 2017

Create Documents Desktop Downloads Music Video folder shortcut icon on LXDE desktop

Create Documents Desktop Downloads Music Video folder shortcut icon on LXDE desktop


Create Documents folder icon in desktop of LXDE Lubuntu salix peppermint archlinux opensuse fedora gentoo vector zorin porteus
Documents folder icon in desktop of LXDE Lubuntu
In this post I will tell you how to create Documents shortcut icon or launcher in desktop on LXDE based Linux distribution like Lubuntu, Salix, Peppermint ,Archlinux, Opensuse, Fedora, Gentoo, Vectorlinux, Zorin, Porteus etc. Here is the simplest method.

Open terminal from Main menu or pressing "Alt+Ctrl+t". Run the command below. No need to use sudo.
cd Desktop ln -s ~/ Documents 
Press Enter. A Documents folder shortcut icon/ launcher has been created in your LXDE desktop.

In this way you can create  Desktop Downloads Music Video folder shortcut icon on any LXDE desktop.

To know How to create Home and Trash shortcut icon/ launcher in any LXDE based operating systems desktop, please read "Home Documents Desktop Icon on Lubuntu LXDE".

If you quite more curious then you may read this page titled "Adding Applications, Internet Links to the Desktop, .Desktop Files, On The Path".

To explore the world of LXDE you may visit the greate Distrowatch.

{ Read More }


Saturday, 22 April 2017

Create file folder on new HD Partition easily Permission problem solved

Create file folder on new HD Partition easily Permission problem solved


After fresh Linux install we may find that we have no permission to create file or folder to a new or another hard-disk partition. This is a safety feature of Linux OS. We have to get permission to write in that specific hard disk partition. I think you can ask this in some various way.
no permission to create file or folder on another harddisk partition drive
No permission to create file or folder on another hard-disk partition drive. Look at the mouse pointer.
  1. How to create file of folder on a new hard disk partition?
  2. How to get permission to create file and folder to another hard-disk partition?
  3. Writing is disabled on HD partition. How to enable it.
  4. How to enable writing permission on a specific folder or in a hd partition drive? etc.
I have write two post about it. One is Can not create file folder on newly installed Ubuntu [Solved] and another is ext4 partition require password to view files. Both are quite geeky solution. But I discovered most easy way to do this job. That is enabling permission to write or create on another hd drive.

Here is the solution tips step by step.. follow the tutorial below...

  • a. Open terminal from Menu.
  • b. Type "sudo nautilus"
  • c. Supply password (It will not shown. Go typing). You are going to get root privileged to change anything on that correspondence partition. A new Nautilus window manager will open.
  • d. Now open that specific Hard disk partition or another drive using opened nautilus window manager.
  • Right click menu on root nautilus. Click Properties to change options 
  • Right click menu on root nautilus. Click Properties to change options
  • e. Right click there. A task menu will open.
  • f. Point to Properties at the bottom of the menu and Click (Left click).
  • g. Drive properties will open. Heed to Permission TAB.
  • Properties window. Heed to Permission TAB
  • Properties window. Heed to Permission TAB
  • h. Here you can enable permission for System Owner or for Group or Others.
  • i. If you just want to get writing permission for your own, then click on the drop down menu just behind the "Owner" text.
  • Hard disk Owner long menu
  • Hard disk Owner long menu
  • j. A long menu will open.
  • k. Scroll up or down and find your name their. Select your name.
  • l. Change Folder access and File access to your name instead of ROOT. Give right to Create and Delete files permission for both.
  • m. If there are many file and folder on that hard-disk drive then click once on "Apply Permissions to Enclosed Files". All file and folder access will not be locked to you.
Apply permission to enclosed files
Apply Permission to Enclosed Files to get permission to all files and folders which are found into that hard disk or any folder.
Everything has done. Just close that Properties window and return to your Hard Disk drive to check.
You will discover that now you are able to create file or folder on that hard-disk drive.
create file folder on another hard disk drive partition
create file folder on another hard disk drive partition Now it will be easy for you creating or copying any file or folder on that hard-drive partition. Nothing will be locked for you. All locked folder and files will open instantly without any key. How funny???!!%%!
{ Read More }


Wednesday, 12 April 2017

Create assets folder in Android Studio and copy file into

Create assets folder in Android Studio and copy file into


How to create assets folder in Android Studio, and copy a PDF file into the assets folder.

{ Read More }