[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

<?php require_once "connect.php";

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 8
Thread images: 2

File: pointing-laughing-7872465.jpg (11KB, 239x160px) Image search: [Google]
pointing-laughing-7872465.jpg
11KB, 239x160px
<?php
require_once "connect.php";
$connection = @new mysqli($host,$user,$password,$name);
$u_login = $_POST['login'];
$u_password = $_POST['password'];
$sql="SELECT * FROM login WHERE login=\"$u_login\" AND password=\"$u_password\"";
$action = @$connection->query($sql));
$connection->close();


?>
>why doesn't it work?
http://176.119.58.114/krzysztak/
>>
>>62196286
I'm not falling for ur botnet, thanks
>>
>>62196286
> SELECT *
> no PDO
> reading straight from the form
Oh my fucking god you deserve to be put down like the fucking animal you are
>>
Hell

At least use msqli prepare
>>
>>62196286
don't know abaout mysql in detail but aren't strings delimited by ' ?
also use the input of the others
>>
>>62196286
>not hashing your passwords
>not using code blocks on 4chan
>no csrf check
>no sql injection prevention

Jesus Christ Pajeet.
>>
>>62196286
It asked me to log in so I tried to sign into my 4chan account and nothing happened, what is this?
>>
With that code anybody can hack you database. Perhaps this is some kind of honeypot.
Thread posts: 8
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.