22 Apr 2012

0 Protect Your Website Against SQL Injection



Hacker-one: “ YES, I DID IT !!! “

Hacker-two: “What ? “

Hacker-one:” I HACKED ANOTHER SITE!!! “

Hacker-two: “Great!!! How did you do that? “

Hacker-one:” SQL INJECTION !!! :p “


Yes, one of the common methods that are being used by hackers is SQL INJECTION.

Sites get hacked by the sql injection due to the loop hole that is left by developers most of the times while developing a web application.

I will be explaining you today how to avoid SQL INJECTION when you are developing a web application with PHP.

I will be explaining with the help of an example, suppose we have text fields on our form

1. User Name

2. Password

and a login button.

When we login, the validation for the valid user is checked on the back-end. If the user is a valid user, he logs into the system else an error message “incorrect username or password” is shown.

What happens on the back-end,

$userName=$_POST[‘userName’];


$password =$_POST[‘password’];

$sqlQuery=”select * from users where user_name= ‘”.$userName.”’ and user_password= ‘”.$password.”’ ;  ”;

This is where the developer has left a loop hole if instead of password I enter  ‘ or ‘a’=’a the password field has the value


$password is  ‘or ‘a’=’a

Lets place this value in query and the query becomes

$sqlQuery=”select * from users where user_name= ‘”.$userName.”’ and user_password=’ ‘or ‘a’=’a’;   ”;

You can see clearly , password doesn’t match but the other statement  a=a matches so  OR operator will work and the user will login into the system without knowing the actual password. I can even give you the names of some famous websites  where you can inject sql or use this technique.

HOW TO AVOID IT ???

Don’t treat the field values as mentioned above

Use this function

function BlockSQL Injection($str){           

return str_replace(array("'",""","'",'"'), array("'",""","'","""), $str);

}

This will replace the characters( that can break the string) in the string.

So you can use this function as

$userName= BlockSQL Injection ($_POST[‘userName’]);


$password = BlockSQL Injection ($_POST[‘password’]);


Now the hacker wont be able to break the QUERY STRING.

We have many frameworks in PHP that provide this functionality such as quotes_to_entities($string) in CODE IGNITER.

Use some desgin pattern when you are building a big application, model, controller, your view layers and DAO (data access object layer) must be implemented to make it losely coupled and extensible.

A huge number of sites have been developed in core php, where we don’t use any framework. Wordpress is very secure but when it comes to PLUGINS (that we donwload and use), they can have the loop holes inside them. Stay alert while developing web applications, you never know when you are gonna get hacked. Stay blessed! :)

Good Luck !

18 Apr 2012

0 How To Hack Windows 7 And Bypass Firewall And Kaspersky Antivirus

Ringkasan ini tidak tersedia. Harap klik di sini untuk melihat postingan.

17 Apr 2012

0 || All type of hash generator script ||

<?php

$p = empty($_POST['p']) ? null : $_POST['p'];
?>
<html>
<head><title>Hash testing</title></head>
<style type="text/css">
    table {border-collapse: collapse;}
    table, td, th {border: solid 1px #ccc;}
    th {background: #e1e1e1;border-color: #999;}
    td, th {padding: 0.25em;}
    td.algo {font-weight: bold;}
    tr.on td {background: #f0f0f0;}
</style>
<body>
    <h1>String hashing</h1>
    <form method="post" action="<?php echo basename(__FILE__) ?>">
        <p><label for="p">Enter a string to hash:</label><br /><input id="p" type="text" name="p" value="<?php echo $p ?>" /></p>
        <p><input type="submit" name="submit" value="Hash It" /></p>
    </form>
  
   
    <?php if ($p): ?>
    <hr />
    <h2>Table of hash values for <em><?php echo $p ?></em> based on algorithm</h2>
    <table>
        <tr>
            <th>Algorithm</th>
            <th>Hashed value of <em><?php echo $p ?></em></th>
        </tr>
       
        <?php $on = false; foreach (hash_algos() as $algo): ?>
        <tr<?php if ($on): ?> class="on"<?php endif; ?>>
            <td class="algo"><?php echo $algo ?></td>
            <td class="hash"><?php echo hash($algo, $p) ?></td>
        </tr>
    <?php $on = !$on; endforeach; ?>
    </table>
    <?php endif; ?>
</body>
</html>

save it as .php

Source:- Madleets

0 || TuneUp Utilities 2012 + Keygen ||


Tune Up Utilities 2012 is a System Tunning software which is very popular and you will have to pay for it if you will buy this software but we are providing product keys so that you can use this software like pro without buying it means you will save some money .so see the whole post below


For Successful  Activation of  your Tune up Utilities 2012, follow the steps below :

First of all download the Tune up Utilities from the official website (set up file).
Now install Tune Up Utilities 2012 on your computer.
If you see the message shown below click on Enter product key
Just open the keygen folder, open keygen and generate a Product key.


That's  it and you will see following message .


Download Keygen From here
 http://www.mediafire.com/?tmgu11r5nfuc54g

0 || SYMLINK + WHMCS HACKING ||


Hello Guys. Today Ill show you how to bypass symlink on a Web hosting of secured server and get access to its database.
And how to manually crack Web hosting and get whmcs access once you have database :)





0 || 293 hacked by Cyb3R_Shubh4M ||


4q-s-nettech.com
aaenvironmental.ca
accurassay.com
acow.ca
aelabs.ca
agritraction.com
aircrafthangars.ca
airleakagesolutions.ca
airtugger.com
alittlefurthernorth.com
alpinelawncare.ca
altuscanada.com
alzheimer.oxford.on.ca
atmail.nettrac.net
atthecore.ca
auburnhillco.com
bandlcontracting.com
barriersciences.com
bellcityjerseys.com
bestwesterntorontoairport.com
bglgroup.com
bigwheel.ca
bluecircle.com
bodybalanceperformance.com
bodyworksfitness.ca
brentbalmer.ca
briandomm.com
brodaseating.com
buildingblockideas.com
c21progroup.ca
camboia.ca
cambridgerowingclub.on.ca
cambridgespeedskating.ca
campbel.ca
canadahotairballoonrides.ca
cavendishmanor.com
century21heritagehouse.com
chelseypark.com
cibwoodstock.com
clbphils.org
coach.opid.ca
coffee-enema.ca
comedancing.ca
communitylivingtillsonburg.ca
complete-safety-resources.ca
coronadocorp.com
corporatetouch.ca
countryhavenretirementhome.com
countrykettle.com
cporlandodwtn.com
cruisingcanada.com
deerparklodge.com
dejong.com
demosite.ca
descramble.timmer.ca
dibc.on.ca
dilcmail.com
downtowncrowne.com
dragonboatwoodstock.ca
easy-web.ca
edc.easy-web.ca
emeraldhospitality.ca
emeraldhospitalitygroup.com
epiksound.com
fieldofdaisies.on.ca
findcarl.timmer.ca
flightrez.com
flightstofortmcmurray.com
flightstolasvegas.ca
flightstoorlando.ca
flightstothunderbay.com
flightstotoronto.ca
fluidpowerhouse.com
flyprivateskies.com
fms.ca
followingfido.ca
followingfido.com
fotocan.org
fourpointsstcatharines.com
fourpointstoronto.ca
fourpointstoronto.com
framedmemories.ca
futon-fashions.ca
glassfordchrysler.com
glenile.com
gngroup.ca
gni.ca
gni.on.ca
goldenoakhomes.ca
golfjets.com
golflimos.com
gozzard.com
gozzardcomposites.com
gsdunn.com
gunnersgolf.com
hanleys.easy-web.ca
harmonymassage.ca
harvan.com
hawboldt.ca
hawboldt.nl.ca
hcconsult.com
hidowntownwindsor.ca
hidowntownwindsor.com
hiranifamily.com
holidayinnbinghamton.com
holidayinnvestal.com
hurleybuilds.ca
independentmusicmall.com
info.easy-web.ca
ingersollgolf.com
jamiesonhilts.com
justame.com
kaylaw.ca
kenmcgeeautobooks.com
keybasecambridge.ca
knobsandpullsdepot.com
knoxstthomas.ca
kwbroker.ca
kwintercitydartleague.ca
kwwaterpolo.com
laserworks-canada.com
lloydselectric.ca
lombardmanor.com
macdonaldindustrialsales.com
mamurphyart.com
mar-inc.com
maximumpotentialsports.com
mcclays.ca
mgmglass.com
middleclassmillionaire.ca
mikeselectricltd.ca
militarypowerhouse.com
millsandassociates.com
mobilife.on.ca
monastesse.com
mwdatcon.com
nettrac.net
northwoodsdoors.com
novoteltorontoairport.com
ogihockey.com
oneproudplanet.ca
oneproudplanet.com
opid.ca
originalthought.com
osog.ca
oxfordselfstorage.ca
parkviewcustoms.com
parkviewcustomsbrokerage.com
pcoptions.nettrac.net
pcoptions.on.ca
planningprocessstrategic.com
pmcanada.ca
pneumaticwinch.com
postmaster.aaenvironmental.ca
postmaster.acow.ca
postmaster.aelabs.ca
postmaster.atthecore.ca
postmaster.bglgroup.com
postmaster.bluecircle.com
postmaster.brodaseating.com
postmaster.chelseypark.com
postmaster.dejong.com
postmaster.easy-web.ca
postmaster.fms.ca
postmaster.goldenoakhomes.ca
postmaster.harvan.com
postmaster.hcconsult.com
postmaster.hidowntownwindsor.com
postmaster.holidayinnbinghamton.com
postmaster.knoxstthomas.ca
postmaster.kwintercitydartleague.ca
postmaster.lloydselectric.ca
postmaster.mcclays.ca
postmaster.middleclassmillionaire.ca
postmaster.mobilife.on.ca
postmaster.originalthought.com
postmaster.oxfordselfstorage.ca
postmaster.pmcanada.ca
postmaster.powlab.com
postmaster.proveal.com
postmaster.qsandp.ca
postmaster.reiners.ca
postmaster.reliablenetworks.ca
postmaster.roylco.com
postmaster.simalconsulting.ca
postmaster.sunlighthomes.ca
postmaster.vanceconstruction.ca
postmaster.wc2.ca
postmaster.wlac.ca
postmaster.zarkys.ca
postmaster.zehrgroup.ca
powlab.com
powlaboratories.com
projecthitech.ca
promopitstop.ca
proveal.com
ptacs.com
qcssystems.com
qsandp.ca
quietcrescentart.com
quikasair.com
rainbowcentresudbury.com
ramadawindsor.com
ramautor.com
reduceyoursmoking.com
regionalmillwright.com
reichracing.com
reiners.ca
reliablenetworks.ca
robinkramergardendesign.com
royallepagewoodstock.com
roylco.ca
roylco.com
sam.nettrac.net
savichomes.ca
savichomes.com
sawilson.com
sawilsons.com
serenitymassage.ca
shangrilahills.com
sidewalkfish.com
simalconsulting.ca
simalconsulting.com
soma.easy-web.ca
somasite.biz
somasite.com
somasite.info
somasite.net
somasite.org
stephsco.com
stjohns.opid.ca
stmichaelsinsight.com
sundancekw.com
sunlighthomes.ca
sunnyhospitality.ca
sunnyhospitality.org
sunsetcaptivahomeowners.com
switch.nettrac.net
tan-i-can.com
taneja.ca
thecongregationoftheresurrection.org
thesleeve.com
timberland-group.com
timberland.on.ca
timmer.ca
tonysantoro.com
tradelinkinternational.ca
tradelinkinternational.co.uk
tradelinkintl.ca
trigontoronto.com
tse-international.com
twpatience.com
unitedwayoxford.ca
universalsteelbuildings.com
uvalux.com
uvalux.easy-web.ca
uvdevelopments.com
vanceconstruction.ca
vanhaeren.com
virtualgolfacademy.ca
visramfoundation.com
vistahospitality.ca
vistahospitality.com
vistahotels.com
vistaleasing.ca
vistaleasing.com
wc2.ca
wcri.org
weddings.worldwide.on.ca
wghfoundation.ca
wildandexotic.co.uk
windrider.ca
windycreekkennels.com
wisecopiston.ca
wlac.ca
woodstockcc.on.ca
woodstockchamber.on.ca
woodstockmeadows.com
woodstockminorhockey.com
woodstocknow.biz
woodstocknow.com
workinwoodstock.ca
worldwide.on.ca
wosba.ca
www3.nettrac.net
yourdharmaandgreg.com
zarkys.ca
zarkys.com
zarkyscatering.com
zehrgroup.ca
zehrgroup.com
zmg.on.ca
zorra.easy-web.ca

0 || FACEBOOK WALL FLOOD LATEST METHOD ||

HELLO EVERYONE TODAY ILL SHOW YOU A VIDEO ON HOW TO FLOOD SOMEONE'S FACEBOOK WALL WITH THE HELP OF LIVE HTTP HEADER ADDON

YOU CAN ALSO DOWNLOAD IT FORM HERE


 

Devil Dawn [ Irzzat Badut ] Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates