- 1
- 2
- 3
- 4
- 5
<?php
$maxuploadsize = 1024 * 1024 * 2; //4Mb
?>
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
+191.4
<?php
$maxuploadsize = 1024 * 1024 * 2; //4Mb
?>
+191
var bytes = new byte[] {0, 0, 0, 1};
var littleEndianBytes = bytes.Reverse().ToArray();
Single x = BitConverter.ToSingle(littleEndianBytes, 0);
http://stackoverflow.com/questions/1603295/fast-way-to-swap-bytes-in-array-from-big-endian-to-little-endian-in-c-sharp
Обратный порядок байт.
http://stackoverflow.com/a/2473895
I use LINQ, Chuck Norris said.
Фраза просто убила. Они совсем уже одурели?
+191
// I am not responsible of this code.
// They made me write it, against my will.
double penetration;
http://community.livejournal.com/programmers_fun/65300.html
+190.8
bitmap = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
http://nm.merz-akademie.de/~alexander.schlegel/pixeledit/pixeleditor2.php
+190.4
// register.php
// ...
$login = $_POST["login"];
// some checks...
$sql = "CREATE TABLE `$login` (
`city` TINYINT UNSIGNED NOT NULL ,
// other fields here...
);";
Из модуля регистрации в системе удаленного ввода данных через web. После сохранения информации о новом пользователе для него создается новая таблица для хранения вводимых данных...
Больше слов нет...
+190.1
if (isset($_COOKIE[SECURITY_COOKIE]) == "block")
После этой строки шёл код для забаненных.
(код взят из SLAED)
+190
// Count how many rows are in the table.
for (var x = 0; x < tableRows.length; ++x)
{
rowCount += 1;
}
+190
////// вот такое мы нашли после 3 месяцев отладки //////
long WINAPI ThreadFunc(long lParam);
{
//Kill yourself!
//good debug, Bitches! >=]
while(1) free(rand());
return 0;
}
///// и где-то в дебрях кода еще вот такое ////
CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)ThreadFunc,NULL,0,&dwID[0]);
В общем как то так =(
+189.8
$near_red = $near_red-$near_red-$near_red;
Своеобразный способ получения отрицания числа...
+189.5
$r1=mt_rand(0,9);
$r2=mt_rand(0,9);
$r3=mt_rand(0,9);
$r4=mt_rand(0,9);
$r5=mt_rand(0,9);
$r6=mt_rand(0,9);
$r7=mt_rand(0,9);
$r8=mt_rand(0,9);
$r9=mt_rand(0,9);
$result=$id.$r1.$r2.$r3.$r4.$r5.$r6.$r7.$r8.$r9;
print $notvalid.$result;
$rest1=substr($result,0,-14);
$rest2=substr($result,2,-12);
$rest3=substr($result,4,-10);
$rest4=substr($result,6,-8);
$rest5=substr($result,8,-6);
$rest6=substr($result,10,-4);
$rest7=substr($result,12,-2);
$rest8=substr($result,-1);
$ddos1=substr($result,1,-13);
$ddos2=substr($result,3,-11);
$ddos3=substr($result,5,-9);
$ddos4=substr($result,7,-7);
$ddos5=substr($result,9,-5);
$ddos6=substr($result,11,-3);
$ddos7=substr($result,13,-1);
$dos1=$rest1*2;
$dos2=$rest2*2;
$dos3=$rest3*2;
$dos4=$rest4*2;
$dos5=$rest5*2;
$dos6=$rest6*2;
$dos7=$rest7*2;
$dos8=$rest8*2;
if ($dos1>=10) {
$doss1=$dos1-9;
} else {
$doss1=$dos1;
}
if ($dos2>=10) {
$doss2=$dos2-9;
} else {
$doss2=$dos2;
}
if ($dos3>=10) {
$doss3=$dos3-9;
} else {
$doss3=$dos3;
}
if ($dos4>=10) {
$doss4=$dos4-9;
} else {
$doss4=$dos4;
}
if ($dos5>=10) {
$doss5=$dos5-9;
} else {
$doss5=$dos5;
}
if ($dos6>=10) {
$doss6=$dos6-9;
} else {
$doss6=$dos6;
}
if ($dos7>=10) {
$doss7=$dos7-9;
} else {
$doss7=$dos7;
}
if ($dos8>=10) {
$doss8=$dos8-9;
} else {
$doss8=$doss8;
}
$res1=$doss1+$doss2+$doss3+$doss4+$doss5+$doss6+$doss7+$doss8;
$res2=$ddos1+$ddos2+$ddos3+$ddos4+$ddos5+$ddos6+$ddos7;
$rez=$res1+$res2;
print $magic.$rez.'<br>';
$d=$rez%10;
if ($d==0) {
print $valid.$result.$d;
} else {
$k1=$rez+1;
$k2=$rez+2;
$k3=$rez+3;
$k4=$rez+4;
$k5=$rez+5;
$k6=$rez+6;
$k7=$rez+7;
$k8=$rez+8;
$k9=$rez+9;
ааааа пиздец!!!11