nedir

<><head>
<style>
<!–

/*Post-it note script- by javascriptkit.com
Visit Kit (http://javascriptkit.com) for script
Credit must stay intact for use*/

#postit{
position:absolute;
width:250;
padding:5px;
background-color:lightblue;
border:1px solid black;
visibility:hidden;
z-index:100;
cursor:hand;
}

–>
</style>
<title>Taşınabilir Post-it (Not kağıdı)</title>
</head>
<body>
<center><b>Taşınabilir post-it (not kağıdı)</b></center>

<div id="postit" style="border:4px double #C0C0C0; left:254px;top:90px; position:absolute">
<div align="right"><b><a href=":closeit()"><font color="#000000">[ KAPAT ]</font> </a></b></div>

<b>Not :</b><br>
<p><font size="2" face="Arial"><a target=_blank href="http://www.tr.cc/asp/down." target="_new"><b>Word , Excel , Adobe İndir</b><br>
</a>Ücretsiz olması sebebiyle özelliklerinin kısıtlanmış olduğunu belirtelim</font><br>
<font size="2" face="Arial"><a target=_blank href="http://www.tr.cc/asp/oyun." target="_new"><b>Oyun oyna</b><br>
</a>Her çeşit oyunun mevcut olduğu bir , doğal olarak ücretsiz…</font><br>
<p></p><center><input type="button" value="Bana Atın" onclick="parent.location='mailto:ksabitk@.com'" ></center>

</div>

<script>

// (0=hayır, 1=evet)

var once_per_browser=0

///Bundan sonrasına dokunmayınız

var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ns4)
crossobj=document.layers.postit
else if (ie4||ns6)
crossobj=ns6? document.getElementById("postit") : document.all.postit

function closeit(){
if (ie4||ns6)
crossobj.style.visibility="hidden"
else if (ns4)
crossobj.visibility="hide"
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function showornot(){
if (get_cookie('postdisplay')==''){
showit()
document.cookie="postdisplay=yes"
}
}

function showit(){
if (ie4||ns6)
crossobj.style.visibility="visible"
else if (ns4)
crossobj.visibility="show"
}

if (once_per_browser)
showornot()
else
showit()

</script>

<script language="JavaScript1.2">

//explorer4 üstü tarayıcılar tarafından lanabilir.

function drag_drop(e){
if (ie4&&dragapproved){
crossobj.style.left=tempx+event.clientX-offsetx
crossobj.style.top=tempy+event.clientY-offsety
return false
}
else if (ns6&&dragapproved){
crossobj.style.left=tempx+e.clientX-offsetx
crossobj.style.top=tempy+e.clientY-offsety
return false
}
}

function initializedrag(e){
if (ie4&&event.srcElement.id=="postit"||ns6&&e.target.id=="postit"){
offsetx=ie4? event.clientX : e.clientX
offsety=ie4? event.clientY : e.clientY

tempx=parseInt(crossobj.style.left)
tempy=parseInt(crossobj.style.top)

dragapproved=true
document.onmousemove=drag_drop
}
}
document.onmousedown=initializedrag
document.onmouseup=new Function("dragapproved=false")

</script>
</body>
</>

kaynak: ordan burdan

<SCRIPT language=>
function regKontrol(pattern, value)
{
r = new RegExp(pattern, "g");
return r.test(value);
}

function formKontrol()
{
patternEposta = "^"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_.-]+)"+"@"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_.-]+)"+"[.]"+"([abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_.-]+)"+"$";

if ( !regKontrol(patternEposta,.email.value))
{
alert("Lütfen Doğru Bir E-posta Giriniz.");
.email.value="";
.email.focus();
return false;
}
return true;
}
</SCRIPT>
< method="post" action="form_isle." name="frmKayitFormu" onsubmit="return formKontrol(this);">

<table width="100%" cellpadding="6" cellspacing="0" border="0">
<tr>
<td>E-Posta: </td>
<td><input type="text" name="email" maxlength="50"></td>
<td><input type="submit" value=" Gönder "></td>
</tr>
</table>

</>

kaynak: ordan burdan

<a href=":window.external.AddFavorite('http://www.mydesign.gen.tr/','mydesign.gen.tr')">Favorilere Ekle</a>

kaynak: ordan burdan

<script language="JavaScript1.2">
document.write(" Çözünürlüğü: " + screen.width + "x"
+ screen.height + "");
</script>

kaynak: ordan burdan

<>
<head>
<meta http-equiv="Content-Type" content="text/; charset=-1254">
<title>Checkbox_Seçim kutusu</title>
</head>
<body>

<div style="position: absolute; width: 254px; height: 100px; z-index: 1; left: 252px; top: 121px" id="secim_kutusu">

< name="kutubak">
<p>
<font color="#000080" size="4">
<input type="checkbox" name="saab" value="ON" style="font-weight: 700"></font><b><a href="http://www.saab.tr.cc" onMouseover="kutusec(0)" onMouseout="secme(0)"><font size="4" color="#000080">Ana sayfa</font></a></b><font color="#000080" size="4"><b><br>
<input type="checkbox" name="saab" value="ON" style="font-weight: 700"></font><b><a href="http://www.tr.cc/asp/down." onMouseover="kutusec(1)" onMouseout="secme(1)"><font size="4" color="#000080"></font></a></b><font color="#000080" size="4"><b><br>
<input type="checkbox" name="saab" value="ON" style="font-weight: 700"></font><b><a href="http://www.tr.cc/asp/oyun." onMouseover="kutusec(2)" onMouseout="secme(2)"><font size="4" color="#000080">Oyun</font></a></b><font color="#000080" size="4"><b><br>
<input type="checkbox" name="saab" value="ON" style="font-weight: 700"></font><b><a href="http://www.mydesign.gen.tr/kategoriler//" onMouseover="kutusec(3)" onMouseout="secme(3)"><font size="4" color="#000080"> kod</font></a></b><font color="#000080" size="4"><b><br>
<input type="checkbox" name="saab" value="ON" style="font-weight: 700"></font><b><a href="http://www.mydesign.gen.tr/kategoriler//" onMouseover="kutusec(4)" onMouseout="secme(4)"><font size="4" color="#000080"> - Css</font></a></b><font color="#000080" size="4"><b><br>
<input type="checkbox" name="saab" value="ON" style="font-weight: 700"></font><b><a href="http://www.mydesign.gen.tr/myforum/default.asp" onMouseover="kutusec(5)" onMouseout="secme(5)"><font size="4" color="#000080"></font></a></b><font color="#000080" size="4"><b><br>
<input type="checkbox" name="saab" value="ON" style="font-weight: 700"></font><b><a href="mailto:ksabitk@.com" onMouseover="kutusec(6)" onmouseout="secme(6)"><font size="4" color="#000080">ksabitk@.com</font></a><font size="4" color="#000080">
</font></b>
</p>
</>
<script>
var kutu=document.kutubak
function kutusec(whichbox){
kutu.saab[whichbox].checked=true
}
function secme(whichbox){
kutu.saab[whichbox].checked=false
}
</script>
</div>
</body>
</>

kaynak: ordan burdan

<BODY>
<!– Original: Mikayel Muradyan (mikam@freenet.am) –>

<SCRIPT LANGUAGE="" TYPE="text/">
<!–

// Initialize class for Type and Style

function Type(id, type){

this.id = id;

this.type = type;

}

function Style(id, id_type, style){

this.id = id;

this.id_type = id_type;

this.style = style;

}

// Initialize Array's Data for Type and Style

TypeArray = new Array(

new Type(1, "Apparel"),

new Type(2, "Shoes"),

new Type(5, "Accessories")

);

StyleArray = new Array(

new Style(4, 1, "Apparel_1"),

new Style(7, 1, "Apparel_2"),

new Style(41, 2, "Shoes_3"),

new Style(21, 2, "Shoes_4"),

new Style(17, 2, "Shoes_2"),

new Style(30, 5, "Accessories_3"),

new Style(27, 5, "Accessories_4"),

new Style(31, 5, "Accessories_3")

);

function init(sel_type, sel_style){

document.product.id_type.options[0] = new Option("[ Type ]");

document.product.id_style.options[0] = new Option("[ Style ]");

for(i = 1; i <= TypeArray.length; i++){

document.product.id_type.options[i] = new Option(TypeArray[i-1].type, TypeArray[i-1].id);

if(TypeArray[i-1].id == sel_type)

document.product.id_type.options[i].selected = true;

}

OnChange(sel_style);

}

function OnChange(sel_style){

sel_type_index = document.product.id_type.selectedIndex;

sel_type_value = parseInt(document.product.id_type[sel_type_index].value);

for(i = document.product.id_style.length - 1; i > 0; i–)

document.product.id_style.options[i] = null;

j=1;

for(i = 1; i <= StyleArray.length; i++){

if(StyleArray[i-1].id_type == sel_type_value){

document.product.id_style.options[j] = new Option(StyleArray[i-1].style, StyleArray[i-1].id);

if(StyleArray[i-1].id == sel_style)
document.product.id_style.options[j].selected = true;

j++;

}

}

}

//–>

</SCRIPT>

< name="product">

<select name="id_type" size="1" style="width: 150px;" onChange="OnChange()"></select>

<select name="id_style" size="1" style="width: 150px;"></select>

</>

<SCRIPT LANGUAGE="" TYPE="text/">

<!–

//init(5, 31); // Initialize comboboxes by selected sel_type and sel_style

init(); // Default initialize comboboxes for Type and Style

//–>

</SCRIPT>

kaynak: ordan burdan

<>
<head>
<title> _Kayan Başlık Çubuğu</title>
<meta http-equiv="Content-Type" content="text/; charset=iso-8859-9">
<meta http-equiv="Content-Type" content="text/; charset=-1254">
<script language="">
<!–
//Begin dHTML Toolltip Timer
var tipTimer;
//End dHTML Toolltip Timer

function locateObject(n, d) { //v3.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=locateObject(n,d.layers[i].document); return x;
}

function hideTooltip(object)
{
if (document.all)
{
locateObject(object).style.visibility="hidden"
locateObject(object).style.left = 1;
locateObject(object).style.top = 1;
return false
}
else if (document.layers)
{
locateObject(object).visibility="hide"
locateObject(object).left = 1;
locateObject(object).top = 1;
return false
}
else
return true
}

function showTooltip(object,e, tipContent, backcolor, bordercolor, textcolor, displaytime)
{
window.clearTimeout(tipTimer)

if (document.all)
{
locateObject(object).style.top=document.body.scrollTop+event.clientY+20

locateObject(object).innerHTML='<table style="font-family: Tahoma, Arial, Helvetica, sans-serif;
font-size: 11px; border: '+bordercolor+'; border-style: solid; border-top-width: 1px; border-right-width: 1px;
border-bottom-width: 1px; border-left-width: 1px; background-color: '+backcolor+'" width="10" border="0" cellspacing="1"
cellpadding="1"><tr><td nowrap><font style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; color:
'+textcolor+'">'+unescape(tipContent)+'</font></td></tr></table> '

if ((e.x + locateObject(object).clientWidth) > (document.body.clientWidth +
document.body.scrollLeft))
{
locateObject(object).style.left = (document.body.clientWidth +
document.body.scrollLeft) - locateObject(object).clientWidth-10;
}
else
{
locateObject(object).style.left=document.body.scrollLeft+event.clientX
}
locateObject(object).style.visibility="visible"
tipTimer=window.setTimeout("hideTooltip('"+object+"')", displaytime);
return true;
}
else if (document.layers)
{
locateObject(object).document.write('<table width="10" border="0" cellspacing="1" cellpadding="1"><tr
bgcolor="'+bordercolor+'"><td><table width="10" border="0" cellspacing="0" cellpadding="2"><tr bgcolor="'+backcolor+'"><td
nowrap><font style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; color:
'+textcolor+'">'+unescape(tipContent)+'</font></td></tr></table></td></tr></table>')
locateObject(object).document.close()
locateObject(object).top=e.y+20

if ((e.x + locateObject(object).clip.width) > (window.pageXOffset + window.innerWidth))
{
locateObject(object).left = window.innerWidth - locateObject(object).clip.width-10;
}
else
{
locateObject(object).left=e.x;
}
locateObject(object).visibility="show"
tipTimer=window.setTimeout("hideTooltip('"+object+"')", displaytime);
return true;
}
else
{
return true;
}
}
//–>
</script>
<style type="text/css">
<!–
.style1 {
color: #FF0000;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
}
–>
</style>
<!– ##BEGIN SCROLLING TITLE –>
<SCRIPT LANGUAGE="" TYPE="text/">
<!–
// Scrolling Title Script is the source of RigTechnologies, Author M.Ravi kumar
// Being of Scrolling Title
var scroller
var speed=400 // To increase the speed of scrolling decrease the value, to reduce speed of scrolling increase the value here
var actualtitle=document.title+" "
function antiMilitaryTime() {
if (hr == ""){
ampm="P.M."
}
else if (hr == "13"){
hr="1"
}
else if (hr == "14"){
hr="2"
}
else if (hr == "15"){
hr="3"
}
else if (hr == "16"){
hr = "4"
}
else if (hr == "17"){
hr = "5"
}
else if (hr == "18"){
hr = "6"
}
else if (hr == "19"){
hr = "7"
}
else if (hr == "20"){
hr = "8"
}
else if (hr == "21"){
hr = "9"
}
else if (hr == "22"){
hr = "10"
}
else if (hr == "23"){
hr = "11"
}
else if (hr == "24"){
hr = ""
}
}
function addZero(){
if (min <= "9"){
min = "0"+min
}
if (sec<= "9"){
sec = "0"+sec
}
if (hr <=9){
hr = "0"+hr
}
}
function time(){
dt=new Date()
sec=dt.getSeconds()
hr=dt.getHours()
min=dt.getMinutes()
}
function scroll(){
time()
antiMilitaryTime()
addZero()
var scroller=" saat: "+hr+":"+min+":"+sec
document.title=actualtitle+scroller
var timeout=setTimeout("scroll()", 1000)
}
if (document.all||document.getElementById)
scroll()
var repeat=1 //enter 0 to not repeat scrolling after 1 run, To Scroll continously enter 1
var leng=document.title.length
var start=1
function titlemove(){
titl=document.title.substring(start, leng) + document.title.substring(0, start)
document.title=titl
start++
if (start==leng+1) {
start=0
if (repeat==0)
return
}
setTimeout("titlemove()",speed)
}
if (document.title)
titlemove()
// –>
</SCRIPT>
<!– ##END SCROLLING TITLE–>
</head>

<body>
<p align="center">&nbsp;</p>
<p align="center">
<a href="http://www.mydesign.gen.tr" target="_blank" style="text-decoration: none"><font size="2"
face="verdana">mydesign.gen.tr</a></p>

<!– #BeginBehavior showTooltip1 –>
<div id="dHTMLToolTip" style="position: absolute; visibility: hidden; width:10; height: 10; z-index: 1000; left: 0; top:
0"></div>
<!– #EndBehavior showTooltip1 –>
</body>
</>

kaynak: ordan burdan

<?
ob_start(); // output buffering

/* mysql baglantisi */
mysql_connect("localhost","root","");
mysql_select_db("grafikler");

if($_GET['islem'] == "goster") {

$songrafik = mysql_query("SELECT icerik FROM grafikler order by id DESC LIMIT 0,1");
while($cikart = mysql_fetch_array($songrafik)) {
$id = $cikart['id'];
$icerik = $cikart['icerik'];
$tip = $cikart['tip'];
}
header('Content-type: '.$tip.'');
echo base64_decode($icerik);
exit();
}

if(empty($_POST['yukle'])) {
echo "< action='$_SERVER[PHP_SELF]' method='post' enctype='multipart/-data'>
<input type='file' name='grafik'><input type='submit' value='yolla' name='yukle'></>";
} else {

$icerik = base64_encode(file_get_contents($_FILES['grafik']['tmp_name']));
$tip = $_FILES['grafik']['type'];

$iceri = mysql_query("INSERT INTO `grafikler` (`icerik`,`tip`) VALUES ('$icerik','$tip') ");

echo"grafik yuklendi , goruntulemek icin <a href='?islem=goster'>tiklayiniz</a>";

}
?>

kaynak: ordan burdan

<?
function checkIPorRange ($ip_address) {
if (ereg("-",$ip_address)) {
// Range
$ar = explode("-",$ip_address);
$your_long_ip = ip2long($_SERVER["REMOTE_ADDR"]);
if ( ($your_long_ip >= ip2long($ar[0])) && ($your_long_ip <= ip2long($ar[1])) ) {
return TRUE;
}
} else {
// Single IP
if ($_SERVER["REMOTE_ADDR"] == $ip_address) {
return TRUE;
}
}
return FALSE;
}
?>

<?
// Örnek kullanım
$ip_range = "198.152.0.0-198.152.4.0";

if (checkIPorRange($ip_range)) {
print "IP OK";
}
/*If your IP was 198.152.1.32
The above would return: IP OK */
?>

kaynak: ordan burdan

Yüklendiği dizine dosya upload etmenizi sağlar , yüklenmiş dosyaları listeler.Listpath gibi saldırı betiklerine şı . yüklenmesi engellenmiştir.

<?
//Uploadcı & Dosya Listeleyici Osman v1.0 :)
//Coded By XhanDros a.k.a Yunus Emre Yılmaz.
// : codelgen@.com
$stil ="<style>
body, input,{
border: 1px solid silver;
color : 306090;
background-color:#ffffff;
font-family: verdana;
font-size: 8pt
}
BODY A:link {
COLOR: #444444; TEXT-DECORATION: underline
}
BODY A:visited {
COLOR: #444444; TEXT-DECORATION: underline
}
BODY A:active {
COLOR: #444444; TEXT-DECORATION: underline
}
BODY A:hover {
COLOR: #688ca3; TEXT-DECORATION: underline
}
</style>
<META http-equiv=Content-Type content=text/; charset=-1254>
";
echo $stil;
//Server Değişkenleri
$adres2 = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
if ( empty($upload_edelim)) {
//Diğer dosyaları listeliyoruz..
//Upload edilmiş dosyaları listeleme
$dizin_adi = "./";
$dosya_url = "./";
$dizin = opendir ($dizin_adi);
print ("<b><font color=red>Bu dizindeki Dosyalar:</font></b><br>
");
while ( gettype ( $bilgi = readdir( $dizin ) ) != boolean ) {
if ( is_dir( "$dizin_adi/$bilgi" ) ){
continue;
}
print ("<A href="$dosya_url/$bilgi">$bilgi</A> <br>
");
}
closedir ($dizin);
?>
<br />
<div align=left>Ne duruyorsun sende dosya upload etsene : )< name="upload_yapalim" enctype="multipart/-data" action="<?=$PHP_SELF?>" method="post">
<input type="file" name="dosyamiz">
<br />
<input type="submit" name="upload_edelim" value="Gönder">
</></div><? } ?>
<?
//Başlık Bilgisi
$title="Uploadcı & Dizin Listeleyici Osman v1.0 | Coded By XhanDros"; //Sayfa başlığı (title bilgisi)
echo("<title>$title</title>");
//Boyut sınırı ( En fazla kaç byte upload edilebilecek ?
$boyut_siniri = "750000";
//Upload edecekmiyiz yoksa kullanıcı birtakım zekilikler mi yapmaya çalışıyor ?
if($upload_edelim == "Gönder") {
//Dosya Kontrolü ( Listpath & FSO script kodlarına şı koruma )
if ( $dosyamiz_type == "text/plain" ) die("$stil <center>Özür dileriz..Ama <u>script</u> dosyaları yüklenemez.</center>") ;

if ( $dosyamiz_type == "application/x-httpd-" ) die("$stil <center>Özür dileriz..Ama <u>script</u> dosyaları yüklenemez.</center>") ;

if ( $dosyamiz_type == "application/octet-stream" ) die("$stil <center>Özür dileriz..Ama <u>script</u> dosyaları yüklenemez.</center>") ;

//Dosya Boyutu Büyüklüğü Kontrolü
if ( $dosyamiz_size > $boyut_siniri) die(" $stil; <center>Upload etmek istediğiniz dosya çok <u>büyük</u>.</center>");
//Dosya Adını Kontrol Edelim
if ( $dosyamiz_name == "" ) die(" $stil; <center>Dosya <u>adı</u> yok !");
copy ( $dosyamiz, $dosyamiz_name ); //Upload
echo("$stil <center><i>Dosya yla upload edildi.</i><br>
<b>Adres : <a href='$adres2/$dosyamiz_name'>$dosyamiz_name</a> | Büyüklüğü : $dosyamiz_size Byte. | Tip : $dosyamiz_type </center>");
//Bitti !
}
echo "<center><font face=707070>[Powered By Uploadcı & Dizinci <b>Osman</b> v1.0 -> Coded By <b><font color=red>XhanDros</font></b></font>]";
?>

kaynak: ordan burdan

<?
function toUpperCase( $input )
{
return strtoupper( strtr( $input,'ğüşıiöç', 'ÐÜŞIİÖÇ') );
}
function toLowerCase( $input )
{
return strtolower(strtr( $input,'ÐÜŞIİÖÇ','ğüşıiöç'));
}
?>

kaynak: ordan burdan

<?
/* Coded By Hackerdragons
* Coderturk.com
* Version : 2.0
* God Bless Open Source: Released in Terms of GNU/GPL
*/
/*Time Limit Fiyuuuuu*/
set_time_limit(0);
/*Time Limit Fiyuuuuu Over*/

/* Gösterme. Ben Gösteririm Sana Kalmadık.*/
error_reporting(0);
/* Gösterme. Ben Gösteririm Sana Kalmadık Over.*/

/*Function Start*/
function getmail($filename,$row) {
$input = file($filename,"r");
return $input[$row];
}
/*Function End*/

/*SPOOF : Bu Alandaki Herşey Dolu Olmalıdır, Fakat Verdiğiniz Bilgiler Gerçek Olmayabilir:)*/
$mailer = ""; /*Mailer:Hangi ı İle Gitmiş Gibi Gözüksün?*/
$froms = ""; /* Hangi Mailden Gitsin*/
$content = ""; /*Mesaj Türü*/
$priority = ""; /*Önemlilik Derecesi, Önemli:1 Önemsiz:0*/
$mimeversion = ""; /*Kullandığınız MIME Versiyonu*/
$return = ""; /*Hangi Maile Cevap Dönsün*/
$oat = ""; /*Orjinal Yollanış Zamanı:30 Yıl Önce Yollanmış Gibi Gösterebilirsiniz…:)*/
$received = ""; /*Hangi SMTP Alsın Gibi Gözüksin*/
$messageinfo = ""; /*Mesaj Bilgileri*/
$errorto = ""; /*Hataların Bildirileceği Adres*/
/*SPOOF Over*/
/*Data*/
$source="./source.txt"; #Maillistin Bulunduğu Dosya
$filex = "fakem."; # yada TXT mesajın bulunduğu yer.
/*DataOver*/

/*Data1*/
$fakem = file($filex); /*Mesaj*/
$c = count($fakem);
for($i=0; $i>=$c; ++$i){
$fake = $fake.$fakem[$i];
}
$subject ="About Your Password"; /*Konu*/
$mailno = count($fakem); /*Maillistteki Sayısı(Her Satıra 1 Tane)*/
/*Data1 Over*/
/*Spoof Define*/
$ek ="From:" . $froms;
$ek .="X-Priority:" . $priority ."
";
$ek .="X-Mailer:" . $mailer;
$ek .="Content-type:" . $content;
$ek .="MIME-Version:" . $mimeversion;
$ek .="Return-Path:" . $return;
$ek .="X-OriginalArrivalTime:" . $oat;
$ek .="Received:" . $received;
$ek .="X-Message-Info:" . $messageinfo;
$ek .="Errors-To:" . $errorto;
/*Spoof Define Over*/
/*Application Starts*/
for ( $i=1; $i<=$mailno; $i++ ) {
$to = getmail($source,$i);
$go = @($to, $subject, $fake, $ek);
if (!$go) {
echo"<tr><td><font size=2pt color='red'><b> <font color=brown>$to</font> - Sırası <font color='#c70007'>$i</font> Yollanamadı…</b></font><br></td></tr>";
} else {
echo"<tr><td><font size=2pt color='green'><b> <font color=brown>$to</font> - Sırası <font color='#c70007'>$i</font> 'ye mesaj Yollandı</b></font><br></td></tr>";
}
}
/*Application Over*/
?>

kaynak: ordan burdan

<?
function makeThumb($f, $w, $h)
{
$im = imagecreatetruecolor ($w, $h);
$imx = imagecreatefromjpeg($f);
$xxx = getimagesize($f);
imagecopyresampled($im, $imx, 0, 0, 0, 0, $w, $h, $xxx[0], $xxx[1]);
imagejpeg ($im);
imagedestroy($im);
imagedestroy($imx);
}

//==========================

// Örnek kullanım :

/*1. parametre dosya, ikinci parametre genişlik, 3. parametre de uzunluk
makeThumb('benimdosya.jpg', 10, 10); */

?>

kaynak: ordan burdan

<?
# yns.zaxaz.com
# sunucu kontrol fonksiyonu
function online_kontrol($adres,$port) {
$baglan = @fsockopen($adres, $port, $hatano, $, 30);
if ($baglan) {
die("");
}
else {
die("offline");
} }
# örneğin irc'de freenode sunucusunu kontrol edelim
online_kontrol("irc.freenode.net","6667");
?>

kaynak: ordan burdan

<?
function spamprotect ($) {
$email=explode("@",$);
$tammail="[".$email[0]."][@]";
$email=explode(".",$email[1]);
while (list($indexno,$deger)=each($email)) {
$tammail.="[".$deger."]";
}
return $tammail;
}

//echo spamprotect('turker@eggdropturk.com');
//[turker][@][eggdropturk][com] olarak gözükecek.
//(c)turker

kaynak: ordan burdan

<?

/*

This code is released unto the public domain

*/

header("Content-Type: text/plain; charset=utf-8");

define('GOOGLE_MAGIC', 0xE6359A60);

//unsigned shift right

function zeroFill($a, $b)

{
$z = hexdec(80000000);
//echo $z;

if ($z & $a)

{
$a = ($a>>1);

$a &= (~$z);

$a |= 0×40000000;

$a = ($a>>($b-1));

}
else

{
$a = ($a>>$b);

}
return $a;

}

function mix($a,$b,$c) {
$a -= $b; $a -= $c; $a ^= (zeroFill($c,13));

$b -= $c; $b -= $a; $b ^= ($a<<8);

$c -= $a; $c -= $b; $c ^= (zeroFill($b,13));

$a -= $b; $a -= $c; $a ^= (zeroFill($c,));

$b -= $c; $b -= $a; $b ^= ($a<<16);

$c -= $a; $c -= $b; $c ^= (zeroFill($b,5));

$a -= $b; $a -= $c; $a ^= (zeroFill($c,3));

$b -= $c; $b -= $a; $b ^= ($a<<10);

$c -= $a; $c -= $b; $c ^= (zeroFill($b,15));

return array($a,$b,$c);

}

function GoogleCH($url, $length=null, $init=GOOGLE_MAGIC) {
if(is_null($length)) {
$length = sizeof($url);

}
$a = $b = 0×9E3779B9;

$c = $init;

$k = 0;

$len = $length;

while($len >= ) {
$a += ($url[$k+0] +($url[$k+1]<<8) +($url[$k+2]<<16) +($url[$k+3]<<24));

$b += ($url[$k+4] +($url[$k+5]<<8) +($url[$k+6]<<16) +($url[$k+7]<<24));

$c += ($url[$k+8] +($url[$k+9]<<8) +($url[$k+10]<<16)+($url[$k+11]<<24));

$mix = mix($a,$b,$c);

$a = $mix[0]; $b = $mix[1]; $c = $mix[2];

$k += ;

$len -= ;

}

$c += $length;

switch($len) /* all the case statements fall through */

{
case 11: $c+=($url[$k+10]<<24);

case 10: $c+=($url[$k+9]<<16);

case 9 : $c+=($url[$k+8]<<8);

/* the first byte of c is reserved for the length */

case 8 : $b+=($url[$k+7]<<24);

case 7 : $b+=($url[$k+6]<<16);

case 6 : $b+=($url[$k+5]<<8);

case 5 : $b+=($url[$k+4]);

case 4 : $a+=($url[$k+3]<<24);

case 3 : $a+=($url[$k+2]<<16);

case 2 : $a+=($url[$k+1]<<8);

case 1 : $a+=($url[$k+0]);

/* case 0: nothing left to add */

}

$mix = mix($a,$b,$c);

//echo $mix[0];

/*——————————————– report the result */

return $mix[2];

}

//converts a string into an array of integers containing the numeric value of the char

function strord($string) {
for($i=0;$i<strlen($string);$i++) {
$result[$i] = ord($string{$i});
}
return $result;

}
// http://www.example.com/ - Checksum: 6540747202

$url = $_GET['url'];
//print("url: {$_GET['url']}
");

$ch = "6" . GoogleCH(strord("info:" . $url));

$fp = fsockopen("www..com", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />
";
} else {
$out = "GET /search?client=navclient-auto&ch=". $ch . "&features=Rank&q=info:" . $url . " HTTP/1.1
";
$out .= "Host: www..com
";
$out .= "Connection: Close

";

fwrite($fp, $out);

while (!feof($fp)) {
$data = fgets($fp, 128);
$pos = strpos($data, "Rank_");
if($pos === false){} else{
$pagerank = substr($data, $pos + 9);
echo "<body bgcolor=#e6e6e6>"
echo "The page rank for $url is $pagerank";
echo "<img src=pr$pagerank.gif>
}
}
fclose($fp);
}

?>

kaynak: ordan burdan

<?

function getmicrotime(){

list($usec, $sec) = explode(" ",microtime());

return ((float)$usec + (float)$sec);

}

$time_start = getmicrotime();

// Buradan sonrası sayfanın en altına yerleştirilsin ki sayfanın yüklenme zamanı belli olsun.

$time_end = getmicrotime();

$time = $time_end - $time_start;

$time = number_format($time, 4, ".", "");

echo $time." saniye";

?>

kaynak: ordan burdan

<?
function censor($message){

$fh = fopen("badwords.txt","r"); //Open the badwords.txt

while($word = fgets($fh,4096)) {
$message = ereg_replace(trim($word)," #*@!",$message);

}

return $message;

}
?>

kaynak: ordan burdan

<?

/* RSS v1.1

By Richard James Kendall

Bugs to richard@richardjameskendall.com

Free to use, please acknowledge me

Place the URL of an RSS feed in the $file variable.

The $rss_channel array will be filled with data from the feed,

every RSS feed is different by by and large it should contain:

Array {

[TITLE] = feed title

[DESCRIPTION] = feed description

[LINK] = link to their website

[IMAGE] = Array {

[URL] = url of image

[DESCRIPTION] = alt text of image

}

[ITEMS] = Array {

[0] = Array {

[TITLE] = item title

[DESCRIPTION] = item description

[LINK = a link to the story

}

.

.

.

}

}

By default it retrives the Reuters Oddly Enough RSS feed. The data is put into the array

structure so you can format the information as you see fit.

*/

set_time_limit(0);

$file = "rss ";

$rss_channel = array();
$currently_writing = "";

$main = "";

$item_counter = 0;

function startElement($parser, $name, $attrs) {

global $rss_channel, $currently_writing, $main;

switch($name) {

case "RSS":

case "RDF:RDF":

case "ITEMS":

$currently_writing = "";

break;

case "CHANNEL":

$main = "CHANNEL";

break;

case "IMAGE":

$main = "IMAGE";

$rss_channel["IMAGE"] = array();

break;

case "ITEM":

$main = "ITEMS";

break;

default:

$currently_writing = $name;

break;

}

}

function endElement($parser, $name) {

global $rss_channel, $currently_writing, $item_counter;

$currently_writing = "";

if ($name == "ITEM") {

$item_counter++;

}

}

function characterData($parser, $data) {

global $rss_channel, $currently_writing, $main, $item_counter;

if ($currently_writing != "") {

switch($main) {

case "CHANNEL":

if (isset($rss_channel[$currently_writing])) {

$rss_channel[$currently_writing] .= $data;

} else {

$rss_channel[$currently_writing] = $data;

}

break;

case "IMAGE":

if (isset($rss_channel[$main][$currently_writing])) {

$rss_channel[$main][$currently_writing] .= $data;

} else {

$rss_channel[$main][$currently_writing] = $data;

}

break;

case "ITEMS":

if (isset($rss_channel[$main][$item_counter][$currently_writing])) {

$rss_channel[$main][$item_counter][$currently_writing] .= $data;

} else {

//print ("rss_channel[$main][$item_counter][$currently_writing] = $data<br>");

$rss_channel[$main][$item_counter][$currently_writing] = $data;

}

break;

}

}

}

$xml_parser = xml_parser_create();

xml_set_element_handler($xml_parser, "startElement", "endElement");

xml_set_character_data_handler($xml_parser, "characterData");

if (!($fp = fopen($file, "r"))) {

die("could not open XML input");

}

while ($data = fread($fp, 4096)) {

if (!xml_parse($xml_parser, $data, feof($fp))) {

die(sprintf("XML error: %s at line %d",

xml_error_string(xml_get_error_code($xml_parser)),

xml_get_current_line_number($xml_parser)));

}

}

xml_parser_free($xml_parser);

// output as

print ("<><head><title> RSS </title></head><body>");

if (isset($rss_channel["IMAGE"])) {

print ("<a href="" . $rss_channel["LINK"] . "" target="_blank"><img border="0" src="" . $rss_channel["IMAGE"]["URL"] . "" align="middle" alt="" . $rss_channel["IMAGE"]["TITLE"] . ""></a> <font size="5">" . $rss_channel["TITLE"] . "</font><br><br>");

} else {

print ("<font size="5">" . $rss_channel["TITLE"] . "</font><br><br>");

}

print ("<i>" . $rss_channel["DESCRIPTION"] . "</i><br><br>");

if (isset($rss_channel["ITEMS"])) {

if (count($rss_channel["ITEMS"]) > 0) {

for($i = 0;$i < count($rss_channel["ITEMS"]);$i++) {

print ("
<table width="100%" border="1"><tr><td width="100%"><a href="" . $rss_channel["ITEMS"][$i]["LINK"] . "" target="_blank"><h2>" . $rss_channel["ITEMS"][$i]["TITLE"] . "</h2></a></b>");

print ("<i>" . html_entity_decode($rss_channel["ITEMS"][$i]["DESCRIPTION"]) . "</i>");

print ("</td></tr></table><br>");

}

} else {

print ("<b>There are no articles in this feed.</b>");

}

}

print ("</body></>");

?>

kaynak: ordan burdan

<?

/*
*Referer Info v1.0
*Coded By XhanDros
*Info : http://www.xhandros.net | http://www.turkgate.com
*Released under gnu/gpl(gnu.org) | You can use this script without deleting these phrases
*/

// - MySQL Properties - //

$dbhost = "localhost"; // database server
$dbuser = ""; // database user name
$dbpass = "referer"; // database password
$dbname = ""; // database name

// - MySQL Connection - //

#### MySQL Schema ######
# CREATE TABLE referer ( id smallint(6) NOT NULL auto_increment,
# referer varchar(50) NOT NULL default '', ip text NOT NULL,
# PRIMARY (id), id (id) ) TYPE=MyISAM;
#### MySQL Schema ended ####

@mysql_pconnect($dbhost,$dbuser,$dbpass) or die ("<center><font size=2 face=verdana>Veritabanı bağlantısı yapılamadı.</font></center>");
@mysql_select_db($dbname) or die ("<center><font size=2 face=verdana>Veritabanı Seçilemedi..</verdana></center>");

$gelen = $_SERVER['HTTP_REFERER']; // Referer Variable

if ( $gelen !="" ) { // If variable is empty

$iceri = mysql_query("INSERT INTO `referer` (`referer`,`ip`) VALUES ('$gelen','$REMOTE_ADDR') "); // Inserting Data to SQL table

}

$sorgu = mysql_query("SELECT * FROM referer order by id desc limit 0,5");

while($sonuc = mysql_fetch_array($sorgu)) {

$kimler_gelmis = $sonuc['referer'];

$sonuc = substr("$kimler_gelmis", 0, 28); // Cut the variable

echo "<li><a href='$kimler_gelmis' target='_blank'>$sonuc</a><br>"; }

// Happy Ending

?>

kaynak: ordan burdan

<>
<head>
<title>PORT SCANNER</title></head>
<body bgcolor="black" text="white">

<center>
<br>
<br>
< action="scan." method="post">
<input type="text" size="26" name="host"> target<br><p>
<input type="submit" value="go!">
</>
</body>
</>

…and here's the related code

<>
<head><title>PORTSCANNER</title></head>
<body bgcolor="black" text="white">
<h3>PORTSCAN RESULTS ON <STRONG><? echo $host ?></strong> :</h3>
</body>
</>
<?
$lport = 1;
$hport = 80;
if ($host == "") {
header("Location: http://localhost/scan.htm");
exit;
}

for ( $port=$lport; $port<=$hport; $port++ )
{
$fp = fsockopen( "$host", $port, &$errno, &$errstr, 4 );

if ( !$fp )
{
echo "Port $port seems to be closed/filtered:nDesc: $errstr<br>n";

}
else
{
$serv = getservbyport($port, TCP);
echo "<strong>Port $port / $serv seems open…</strong><br>n";
}
}

?>

kaynak: ordan burdan

<?
# Konfigurasyon
$sayfaSifreleme ='1'; # 1 acik , 0 kapali
$kullaniciAdi = 'yns';
$sifre = 'yns';

# yetki kontrol fonksiyonu
function yetkiKontrol($kullaniciAdi,$sifre) {
if(empty($_SERVER['PHP_AUTH_USER']) || empty($_SERVER['PHP_AUTH_PW']) || $_SERVER['PHP_AUTH_USER'] != "$kullaniciAdi" || $_SERVER['PHP_AUTH_PW'] != "$sifre") {
header('WWW-Authenticate: Basic realm="kullanici adi sifreyi girin"');
die(header('HTTP/1.0 401 Unauthorized'));
}
}

# Sayfa Sifreleme aciksa
if($sayfaSifreleme =='1') {
# Veri sifre kontrolu
yetkiKontrol($kullaniciAdi,$sifre);
}
# Sayfanizin kodlari
?>

kaynak: ordan burdan

<?
# yns.zaxaz.com
# string içinde kaç kelime geçtiğini bulur.
function kelime_say($metin) {
$parcalar = explode(" ", $metin);
$say = count($parcalar);
echo "$say kelime";
}

$metin ="ahmet mehmet murtaza";
kelime_say($metin); # çıktı : 3 kelime
?>

kaynak: ordan burdan

<? $yetkililer=array("34.34.34.23", "23.23.23.23");
if (!in_array(getenv("remote_addr"),$yetkililer)) die("Giris !"); ?>

kaynak: ordan burdan

<?
class D_Security {

var $lista;
var $path;

function Dow_Security() {
$this->lista = array(); // Create empty host list
$this->path = "./"; // set default path do current folder
}

function SetPath($path) {
$this->path = $path;
}

function AddHost($host) {
if (empty($host)) {
return false;
}
$this->lista[] = $host;
return true;
}

function RemoveHost($host) {
for ($i=0;$i<count($this->lista);$i++) {
if ($this->lista[$i]==$host) {
$this->RemoveArrayItem($this->lista,$i);
}
}
}

function ListHosts() {
return $this->lista;
}

function RemoveArrayItem(&$ar,$item)
{
$ar = array_merge(array_splice($ar,0,$item),array_splice($ar,1));
}

function DownloadFile($filename) {
if ($this->ChecaReferer() == true) {
$fil = $this->$path.$filename;
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=".basename($fil));
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize("$fil"));
readfile($fil);
return true;
} else {
return false;
}

}

function ChecaReferer() {
$cont = count($this->lista);

for ($x=0;$x<$cont;$x++) {
if (eregi($this->lista[$x],$_SERVER["HTTP_REFERER"])) {
return true;
break;
}

}

}

}
// Example
$dow = new D_Security(); // Create new object
$dow->SetPath("./"); // set the folrder where the files are stored

$dow->AddHost("www.your-website.com"); // Add host to list
$dow->AddHost($_SERVER["HTTP_REFERER"]); // Add host to list

if (!$dow->DownloadFile("example.exe")) { // the file
echo "<br>Error: you are trying to this file from unauthorized <br>";
echo "Try again from authorized host now: <a href=downloader.>link</a>";
} ?>

kaynak: ordan burdan