Stealing resources from a website

A bit confidential title isn’t it? No wonder you got here. Anyways this article is about downloading some of the resources in a website which cannot be directly downloaded. Examples of these resources are: images, javascript files, css files, swf or flash files and others.

Remember that this is just for educational purposes. Studying existing code from a website is our top priority here.

Some of these resources can be easily downloaded if they are not made as a css background. Because basically you cannot just right click a css background and download it as an image.

And some are just not visible to the naked eye. But is really found on the site.

 

Page Source

The magic happens when you right click on any empty space on the website and select view page source. I’m not going to use any site as an example here. Because I might be breaking a law which I do not know. So just pick out any site that you want and try the same principles that you will find in here.

After opening up page source. You will see a bunch of code. But what you will need to find first is the files which has .css file extension. Because this is where most of the hidden images are being linked. You can find them by pressing ctrl + f on your keyboard and type in .css. Surely something will pop up.

You will just have to click on that link. If the css file is a gibberish like that of Twitter. Then you can’t rely on your naked eye to do the job for you. Just make use of the ctrl + f magic. And search for the following:

    • .jpg or .jpeg
    • .png
    • .gif

Those are the most common image types. If you found one, then just use your common sense and your knowledge on linking directories to get to the image that you want. Most of the time, the filename of the image will tell you what it is.

If the link looks something like this:

../img/system/pokemon.png

And you are currently in(Oops, don’t click the link, I think somerandomwebsite.com is really an existing domain name.):

http://somerandomwebsite.com/css/randomcss.css

Then you already know that you have to take 1 step backward to get to the proper directory:

http://somerandomwebsite.com/img/system/pokemon.png

You will do the above if you have found two dots before the img directory, if not then do something like this:

http://somerandomwebsite.com/css/img/system/pokemon.png

 

Conclusion

That’s it for this short tutorial. You can also find javascript files or any other file that you want from a site using the same principles. Just don’t forget to use what you have learned for good and not for bad.

How to bypass open dns

Here’s a guide on how you can bypass open dns. If ever its blocking you from accessing any site.

I don’t know if this will work 100%. But I think overriding the DNS server used by your ISP or your connection provider will do the trick.

First thing that you’ll need to do is to select your connection properties, right click on your network icon. If directly connected to a cable you will see a monitor-like icon, if connected via wi-fi, then you’ll see something like this:

image

As you can see here, I’m currently connected to LC-GYM access point. Because that’s the fastest in our school.

image

Then click on properties

image

Then select the IP Version 4. And click on properties

image

In this guide, I’ll be using google dns server. You may also use other dns server if you want. And I think you can also use your own open dns and override the configurations in the router or access point to make the site that you want to access become accessible.

image

Google dns server is:

8.8.8.8 and 8.8.4.4

Just check the validate settings upon exit to make sure that you will have no problems using the new dns server.

Wait for a few minutes, and you’ll be able to access everything. You can also download torrents if the dns server is the one who is responsible in blocking it.

How to setup MySql Workbench for first time use

In this tutorial I will show you how you can setup a new server instance for MySql Workbench.

MySql Workbench is a desktop application used for managing your MySql Database. Its more or less the equivalent of PhpMyAdmin and the MS Sql Server Management Studio used for managing MS Sql Database.

This is the window that you will see after opening MySql Workbench. But before you do anything with this application. Make sure that you have already installed WampServer. Also make sure that its already running in the background.

Just click on ‘create new server instance’

image_thumb[2]

When you see this window, just click on ‘next’

image_thumb[3]

Click on ‘store in vault’, and enter your password. If you don’t have a password for your mysql database, then leave it blank then click ‘ok’. This would store your database password so that it wouldn’t prompt you for the password every time it needs it to perform an action.

After that, click ‘next’ again.

image_thumb[4]

You want to make sure everything is checked. Then click ‘next’

image_thumb[5]

Just leave the configuration file blank for a while. Then click  ‘next’

image_thumb[6]

You’ll see an ‘x’, because we didn’t include the configuration file, but its fine for the moment since this tutorial is only for the purpose of backing up MySql Database.

image_thumb[7]

It will prompt you to review the server instance settings. Just click ‘next’.

image_thumb[8]

Rename the default server instance name into something that is more comprehensive. Then click ‘Finish’

image_thumb[10]

That’s it, now you can perform different database operations like backup, restore, queries and others.