ricshs Posted June 22, 2006 Report Share Posted June 22, 2006 Sveiki! Uztaisīju nelielu .php* Scriptu ar kura palīdzību var pārveidot visas zināmās valodas sākot ar .js līdz .php uz nesalasāmu kodu! Ja jums tas interesē, tad varat iedot man kādu koda gabalu un es jums caur pm vinju pārveidošu, es galvoju, ka nezinātājs nospiezhot view source nih*uja nesapratīs! Link to comment Share on other sites More sharing options...
bubu Posted June 22, 2006 Report Share Posted June 22, 2006 Es galvoju, ka zinātājam dabūt oriģinālo kodu nebūtu īpašu problēmu. Link to comment Share on other sites More sharing options...
slicer Posted June 22, 2006 Report Share Posted June 22, 2006 izvāci visus newline simbolus? :D Link to comment Share on other sites More sharing options...
ricshs Posted June 22, 2006 Author Report Share Posted June 22, 2006 Karo4 tā, šādu scriptu <?php include 'appconstants.php'; @ $intMachineID = trim($_REQUEST['machine_id']); @ $intThreadID = trim($_REQUEST['thread_id']); @ $strSubject = trim($_REQUEST['title']); @ $strReply = trim($_REQUEST['message']); @ $strQuote = trim($_REQUEST['quote']); @ $btEmailNotification = trim($_REQUEST['subscribe']); // if the notification bit has not been indicated then set it to 1 indicating the user wishes to subscribe to this thread and receive emails. if ($btEmailNotification == ""){ $btEmailNotification = 1; } // initialise $strResults = ""; // ensure certain strings are in the correct case $strReply = str_replace("HTTP","http",$strReply); $strReply = str_replace("[img=,"[img=",$strReply); $strReply = str_replace("WWW.","www.",$strReply); $strNewReply = ""; // create the post only if the following variables have been passed through if ($intMachineID != "" && $intThreadID != "" && $strReply != ""){ // parse urls do { // parsing urls: if the user writes http://... or www... in the post, convert to a url // find the index of http:// and/or www. if they exist in the post $intIndexHttp = strpos($strReply, "http://"); $intIndexWWW = strpos($strReply, "www."); if ($intIndexHttp === false && $intIndexWWW === false){ // not found so exit the while loop and continue $strNewReply = $strNewReply . $strReply; break; }elseif ($intIndexHttp === false){ // www. found so process formatwww($strReply, $strNewReply, $intIndexWWW); }elseif ($intIndexWWW === false || $intIndexHttp < $intIndexWWW){ // http:// and www. found but http:// is before www. so process http:// formathttp($strReply, $strNewReply, $intIndexHttp); }elseif ($intIndexWWW < $intIndexHttp){ // www. found so process formatwww($strReply, $strNewReply, $intIndexWWW); } }while (strlen($strReply) > 0); // $strNewReply now contains the processed string with the parsed urls. $strReply = $strNewReply; // convert the text to upper case // except IMG tags, email addresses and urls (anchor tags). $strNewReply = ""; do { // detect anchor and/or IMG tags and the character(s) closing the tags $intIndexAnchor = strpos($strReply, "<A HREF="); $intIndexAnchor2 = strpos($strReply, "TARGET="); $intIndexImage = strpos($strReply, "[img="); $intIndexImage2 = strpos($strReply, ]"); if ($intIndexImage === false && $intIndexAnchor === false){ // none found so convert the whole text to upper case and exit the loop $strNewReply = $strNewReply . strtoupper($strReply); break; }elseif ($intIndexImage === false){ // Anchor tag found so set the indexes to the closing tag $intIndex1 = $intIndexAnchor; $intIndex2 = $intIndexAnchor2 + 7; }elseif ($intIndexAnchor === false){ // IMG tag found so set the indexes to the closing tag $intIndex1 = $intIndexImage; if ($intIndexImage2 > 0){ $intIndex2 = $intIndexImage2; }else{ $intIndex2 = $intIndex1 + 5; } }elseif ($intIndexAnchor < $intIndexImage){ // both found but the Anchor tag first set the indexes to the closing tag $intIndex1 = $intIndexAnchor; $intIndex2 = $intIndexAnchor2 + 7; }elseif ($intIndexImage < $intIndexAnchor){ $intIndex1 = $intIndexImage; if ($intIndexImage2 > 0){ $intIndex2 = $intIndexImage2; }else{ $intIndex2 = $intIndex1 + 5; } } // convert to upper case all that has come before intIndex1 and add it to $strNewReply $strNewReply = $strNewReply . strtoupper(substr($strReply, 0, $intIndex1)); // calculate the new intIndex2 to be the piece in the middle that we don't want to convert to uppercase $intIndex2 = $intIndex2 - strlen(substr($strReply, 0, $intIndex1)); // take the rest of strReply, after intIndex1 and put back into strReply $strReply = substr($strReply, $intIndex1, strlen($strReply)); $strNewReply = $strNewReply . substr($strReply, 0, $intIndex2); $strReply = substr($strReply, $intIndex2, strlen($strReply)); }while (strlen($strReply) > 0); $strReply = $strNewReply; // replace smilies with codes $chrSeparator = chr(182); // ¶ $aSmilies = array(0 => ":SMILE:", 1 => ":WINK:", 2 => ":CHUFFED:", 3 => ":HEHE:", 4 => ":EXCITED:", 5 => ":COOL:", 6 => ":GRIN:", 7 => ":BOY:", 8 => ":GIRL:", 9 => ":DUDE:", 10 => ":EEK:", 11 => ":CONFUSED:", 12 => ":TONGUE:", 13 => ":ROLLEYES:", 14 => ":EMBARASSED:", 15 => ":SHOCKED:", 16 => ":SLEEPING:", 17 => ":YAWN:", 18 => ":SAD:", 19 => ":MAD:", 20 => ":GOOD:", 21 => ":BAD:"); $intCounter = 97; foreach ($aSmilies as $strElement){ $strCounter = chr($intCounter); if ($strElement != ":D"){ $strReply = str_replace($strElement, $chrSeparator . $strCounter . $chrSeparator, $strReply); $strQuote = str_replace($strElement, $chrSeparator . $strCounter . $chrSeparator, $strQuote); } $intCounter++; } // :D smilie left to last so as not to mess up :DUDE: smilie $strReply = str_replace(":D", "¶g¶", $strReply); $strQuote = str_replace(":D", "¶g¶", $strQuote); /* as we are limiting smilies to only 5 after replacing all smilie codes, we need to start at the beginning of the text and count each smilie code until we reach 5 smilies. All subsequent smilies are removed. */ $intSmilieLimit = 5; $intSmilieCounter = 0; $intStart = 0; $intIndex1 = strpos($strReply, $chrSeparator, $intStart); while ($intIndex1 > 0){ $intStart = $intIndex1 + 3; if (substr($strReply, $intIndex1+2, 1) == $chrSeparator){ $intSmilieCounter++; if ($intSmilieCounter > $intSmilieLimit){ $strReply = substr($strReply, 0, $intIndex1-1) . substr($strReply, $intStart, strlen($strReply)); $intStart -= 3; } } $intIndex1 = strpos($strReply, $chrSeparator, $intStart); } // format the quote text if ($strQuote != ""){ $strLine = "-----------------------------------------------------------------------------------------------"; //Replace Quote: text (strText with appropriate colours etc... // Originally posted by " $strFindText = "<TEXTFORMAT LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."KROEGER 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#333333".chr(34).">QUOTE:"; $strReplacementText = "<TEXTFORMAT LEFTMARGIN=".chr(34)."40".chr(34)." LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."kroeger 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#666666".chr(34).">QUOTE:</FONT><FONT FACE=".chr(34)."kroeger 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#999999".chr(34).">"; $strQuote = str_replace($strFindText,$strReplacementText,strtoupper($strQuote)); $strFindText = "<TEXTFORMAT LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."KROEGER 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#333333".chr(34).">" . $strLine; $strReplacementText = "<TEXTFORMAT LEFTMARGIN=".chr(34)."40".chr(34)." LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."kroeger 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#FF6600".chr(34).">" . $strLine; $strQuote = str_replace($strFindText,$strReplacementText,strtoupper($strQuote)); $strFindText = "<TEXTFORMAT LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."KROEGER 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#333333".chr(34).">"; $strReplacementText = "<TEXTFORMAT LEFTMARGIN=".chr(34)."40".chr(34)." LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."kroeger 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#FF6600".chr(34).">"; for ($intCounter=1; $intCounter<=3; $intCounter++){ $intStart = 1; $intIndex1 = strpos($strQuote, $strLine, $intStart); $intStart = $intIndex1 + strlen($strLine); $intIndex2 = strpos($strQuote, $strLine, $intStart); while ($intIndex1 > 0){ if ($intIndex2 > 0){ $strMidText = substr($strQuote, $intIndex1, $intIndex2 - $intIndex1); $strRightText = substr($strQuote,$intIndex2, strlen($strQuote)); $strMidText = str_replace($strFindText,$strReplacementText,strtoupper($strMidText)); $strQuote = substr($strQuote, 0, $intIndex1) . $strMidText . $strRightText; $intStart = $intIndex2 + strlen($strLine); $intIndex1 = strpos($strQuote,$strLine,$intStart); $intStart = $intIndex1 + strlen($strLine); $intIndex2 = strpos($strQuote,$strLine,$intStart); }else{ $intIndex1 = 0; } } if ($intCounter == 1){ $strFindText = "<TEXTFORMAT LEADING=".chr(34)."2".chr(34)."><LI><FONT FACE=".chr(34)."KROEGER 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#333333".chr(34).">"; $strReplacementText = "<TEXTFORMAT LEFTMARGIN=".chr(34)."40".chr(34)." LEADING=".chr(34)."2".chr(34)."><LI><FONT FACE=".chr(34)."kroeger 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#FF6600".chr(34).">"; }elseif ($intCounter == 2){ $strFindText = "<TEXTFORMAT LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."KROEGER 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#0000FF".chr(34)."><A"; $strReplacementText = "<TEXTFORMAT LEFTMARGIN=".chr(34)."40".chr(34)." LEADING=".chr(34)."2".chr(34)."><P ALIGN=".chr(34)."LEFT".chr(34)."><FONT FACE=".chr(34)."kroeger 05_53".chr(34)." SIZE=".chr(34)."8".chr(34)." COLOR=".chr(34)."#0000FF".chr(34)."><A"; } } } $strReply = $strQuote . $strReply; $objDB = dbconnection($DBSERVER, $DBUID, $DBPWD, $DBDATABASE); // start a new transaction ExecuteQueryDB("BEGIN", $objDB); // create the post include 'savepost.php'; // commit the transaction ExecuteQueryDB("COMMIT", $objDB); $strPostUsername = ""; $strQuery = "select username "; $strQuery .= "from tbl_registered_users "; $strQuery .= "where machine_id = " . $intMachineID; $objRS = ExecuteQueryDB($strQuery, $objDB); $intNumResults = mysql_num_rows ($objRS); if ($intNumResults > 0){ $row = mysql_fetch_array($objRS); $strPostUsername .= $row['username']; } // List out all subscribers to this thread and send them an email $strThread = ""; $strForum = ""; $strCategory = ""; $strQuery = "select subject, "; $strQuery .= " forum_name, "; $strQuery .= " category_name "; $strQuery .= "from tbl_forum_thread tft inner join tbl_forum tf "; $strQuery .= " on tft.fk_forum_id = tf.pk_forum_id "; $strQuery .= " inner join tbl_forum_category tfc "; $strQuery .= " on tfc.pk_category_id = tf.fk_category_id "; $strQuery .= "where tft.pk_thread_id = " . $intThreadID; $objRS = ExecuteQueryDB($strQuery, $objDB); $intNumResults = mysql_num_rows ($objRS); if ($intNumResults > 0){ $row = mysql_fetch_array($objRS); $strThread .= $row['subject']; $strForum .= ", " . $row['forum_name']; $strCategory .= ", " . $row['category_name']; } $strEmail = ""; $strUsername = ""; $strQuery = "select distinct email, "; $strQuery .= " username "; $strQuery .= "from tbl_registered_users tru inner join tbl_favourites tf "; $strQuery .= " on tru.pk_user_id = tf.pk_user_id "; $strQuery .= "where tf.pk_thread_id = " . $intThreadID . " "; $strQuery .= "and tf.pk_user_id <> " . $intMachineID . " "; $strQuery .= "and tru.allow_threads_email = 1 "; $objRS = ExecuteQueryDB($strQuery, $objDB); $intNumResults = mysql_num_rows ($objRS); if ($intNumResults > 0){ $strSender = "From: " . $POSTEMAIL; $strSubject = "Forum Thread Reply"; for($intCounter=0; $intCounter<$intNumResults; $intCounter++){ $row = mysql_fetch_array($objRS); $strRecipient = $row['email']; $strRecipient = $REPORTPOSTEMAIL; $strHref = $BASEURL . "?thread_id=" . $intThreadID . "&goto=new"; $strMessage = "Hello " . $row['username'] . "," . chr(10) . chr(10); $strMessage .= $strPostUsername . " has just replied to a thread you have subscribed to entitled - " . chr(10); $strMessage .= $strThread . " - in the " . $strForum . " forum of "; $strMessage .= $strCategory . chr(10) . chr(10); $strMessage .= "This thread is located at " . chr(10); $strMessage .= $strHref . chr(10) . chr(10); $strMessage .= "Yours," . chr(10) . $POSTADMIN . chr(10); $strMessage .= "Forum Administrator" . chr(10); // send the email to the user mail( $strRecipient, $strSubject, $strMessage, $strSender); } } $strResults="post_done=1"; }else{ $strResults="post_done=2"; } print $strResults; /*---------------------------------------------------------------------------------------------------------------------------------------------*/ // some functions function formathttp(&$strReply, &$strNewReply, $intIndexHttp){ $intIndex2 = 0; $intIndex3 = 0; $intIndexTmp = 0; if ($intIndexHttp == 0){ //format the url $intIndex2 = strpos($strReply, " ", $intIndexHttp); $intIndex3 = strpos($strReply, "</", $intIndexHttp); if ($intIndex2 === false && $intIndex3 === false){ $intIndexTmp = $intIndexHttp + 7; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexTmp); $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); }else{ if ($intIndex2 === false){ $intIndexTmp = $intIndex3; }elseif ($intIndex3 === false){ $intIndexTmp = $intIndex2; }elseif ($intIndex2 < $intIndex3){ $intIndexTmp = $intIndex2; }elseif ($intIndex3 < $intIndex2){ $intIndexTmp = $intIndex3; } $strMidText = substr($strReply, $intIndexHttp, $intIndexTmp - $intIndexHttp); $intIndexTmp = $intIndexTmp - 1; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexHttp) . "<U><FONT COLOR=".chr(34)."#0000FF".chr(34)."><A HREF=".chr(34). $strMidText . chr(34)." TARGET=".chr(34)."_blank".chr(34).">" . $strMidText . "</A></FONT></U>"; $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); } }else{ //check for " " or COLOR=""#333333""> in chars before http if ((substr($strReply, $intIndexHttp-1, 1) == " ") || (substr($strReply, $intIndexHttp-16, 16) == "COLOR=".chr(34)."#333333".chr(34).">")){ $intIndex2 = strpos($strReply, " ", $intIndexHttp); $intIndex3 = strpos($strReply, "</", $intIndexHttp); if ($intIndex2 === false && $intIndex3 === false){ $intIndexTmp = $intIndexHttp + 7; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexTmp); $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); }else{ if ($intIndex2 === false){ $intIndexTmp = $intIndex3; }elseif ($intIndex3 === false){ $intIndexTmp = $intIndex2; }elseif ($intIndex2 < $intIndex3){ $intIndexTmp = $intIndex2; }elseif ($intIndex3 < $intIndex2){ $intIndexTmp = $intIndex3; } $strMidText = substr($strReply, $intIndexHttp, $intIndexTmp-$intIndexHttp); // $intIndexTmp = $intIndexTmp - 1; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexHttp) . "<U><FONT COLOR=".chr(34)."#0000FF".chr(34)."><A HREF=".chr(34). $strMidText .chr(34). " TARGET=".chr(34)."_blank".chr(34).">" . $strMidText . "</A></FONT></U>"; $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); } }elseif (substr($strReply, $intIndexHttp-9, 9) == "<A HREF=".chr(34)){ //check for <A HREF=" in chars before http $intIndexTmp = strpos($strReply, "</A>", $intIndexHttp); $strNewReply = $strNewReply . substr($strReply, 0, $intIndexTmp); $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); }else{ $intIndexTmp = $intIndexHttp + 8; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexTmp); $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); } } } function formatwww(&$strReply, &$strNewReply, $intIndexWWW){ $intIndex2 = 0; $intIndex3 = 0; $intIndexTmp = 0; if ($intIndexWWW == 0){ $intIndex2 = strpos($strReply, " ", $intIndexWWW); $intIndex3 = strpos($strReply, "</", $intIndexWWW); if ($intIndex2 === false && $intIndex3 === false){ $intIndexTmp = $intIndexWWW + 4; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexTmp); $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); }else{ if ($intIndex2 === false){ $intIndexTmp = $intIndex3; }elseif ($intIndex3 === false){ $intIndexTmp = $intIndex2; }elseif ($intIndex2 < $intIndex3){ $intIndexTmp = $intIndex2; }elseif ($intIndex3 < $intIndex2){ $intIndexTmp = $intIndex3; } $strMidText = substr($strReply, $intIndexWWW, $intIndexTmp-$intIndexWWW); $intIndexTmp = $intIndexTmp - 1; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexWWW) . "<U><FONT COLOR=".chr(34)."#0000FF".chr(34)."><A HREF=".chr(34)."http://" . $strMidText .chr(34)." TARGET=".chr(34)."_blank".chr(34).">" . $strMidText . "</A></FONT></U>";; $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); } }else{ //check for " " or "COLOR=""#333333"">" in char before www. if ((substr($strReply, $intIndexWWW-1, 1) == " ") || (substr($strReply, $intIndexWWW-16, 16) == "COLOR=".chr(34)."#333333".chr(34).">")){ $intIndex2 = strpos($strReply, " ", $intIndexWWW); $intIndex3 = strpos($strReply, "</", $intIndexWWW); if ($intIndex2 === false && $intIndex3 === false){ $intIndexTmp = $intIndexWWW + 4; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexTmp); $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); }else{ if ($intIndex2 === false){ $intIndexTmp = $intIndex3; }elseif ($intIndex3 === false){ $intIndexTmp = $intIndex2; }elseif ($intIndex2 < $intIndex3){ $intIndexTmp = $intIndex2; }elseif ($intIndex3 < $intIndex2){ $intIndexTmp = $intIndex3; } $strMidText = substr($strReply, $intIndexWWW, $intIndexTmp - $intIndexWWW); // $intIndexTmp = $intIndexTmp - 1; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexWWW) . "<U><FONT COLOR=".chr(34)."#0000FF".chr(34)."><A HREF=".chr(34)."http://" . $strMidText .chr(34)." TARGET=".chr(34)."_blank".chr(34).">" . $strMidText . "</A></FONT></U>"; $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); } }else{ $intIndexTmp = $intIndexWWW + 4; $strNewReply = $strNewReply . substr($strReply, 0, $intIndexTmp); $strReply = substr($strReply, $intIndexTmp, strlen($strReply)); } } } ?> Pārveidojot man sanāk: <? eval(gzinflate(©: Ricshs-SeCrEt(' 7VvrctPIEv6drdp3mNWhwN44TuwAC0kcjpPIiWud ONjOYTnUVkqWx7FAlowkE1K7vNY+3+meizSji20g AfYs+QHWTHdP3+abntHo2f7es9lk9uMPa45nu/MR JQ+s2cz2vTCyvCisQt+D3R9/gP5/k3uOF51a9sTx aPuINEgUONPSvcue+fzC7A9ePZjyvktn9OD38m7M MpgE1BoBRw5LxPo0jjAK+vPha2pHJJfDiVyqUffo zL0hJJd6SsPQutLpn8/9iBbQv8W+hHoYmVPLcc/8 yBk7thU5vpfDFM6HoR04Q8EIrJubxBmTaEKJp7IO nYhMrBAbyZBSjzjeCPvoCGk9EtKIAEnkk5rscrwr Jmce0oBcO+GEhtgfD4kP0cSBRuZJYnkjElCbOu8o oah7WMXYjkkp35gGMYzyH0CyVmBsDV3xIbbKcyLH cp2QwjN3fjh3o5CgnNh26oXzgBKbBpHlgFngMO8q JBa0wSOaY/tBgBG2LUUShrGB1JcB/LZsWjJOBoNz o2JMomhmVGIqFp5CnlfO9KoBTK/ap8eNlblevHhR Babr6+tqikdwndFryaiYaoPXIZvQppkfRsT3gELE fuy7rn+NEXxnBY41dCF2EwsCw2I/s8KQBT7w51cT GSRtiv2EQ5H79/VplLTGtvyUhBF0mllBCBkTuCE2 jHzCOmQP6oN9O1JNnlqBE6F64Oidzc1qtUp8aARn wC8RM7SvApHz3kFcMe8slCNFjyFhGRn8T98Tfyxl YUpuCmFiyBtC3zvgLEUwE4NmtpH9BFh5gKCvFNtZ IYYQarBgKhwQvnwGFlARxrXYx8ooMAXGlgsOE35O xMke7lhmJc7csT8HU0MfjYiYAdcTx6XE9f0Zm3/g Ipi3c8q5UrmjPVaTGHJ71oYQ5Df89wcKYy9QWFGL +TbWaxb4NuAe7x37wdSKgED1iqpERbO6XDS25hHy 559E12pPl5KopmSBquZwHsVdgF5DCnpSTpBYIClU S7Bp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AQPbeS9cy vuIlCx1xEVTc3sLk4CTYWiJa8laI+lWHeBKj8/Mn PpG167LJ7oDNuIaBlfXlyPdoo8YClZwjFJDVDfHp wtosgPQnChl0bP688S394Xvmzc21EO9sjece2yKE zO3yiSj3n+8rLyvvL7oB/Yf25rmefRm9nW0aTGei UQVh9QJ6DMKbm8orUPkxQNHJkLzoiuVB3j1tTae8 67ubBYypg8j8q7Lb2XubKYt1K+Pbg5919wokl3dz bqsUv40HjuJX2+rZWZHV2TuIKfO2845linxUKKVe KKWuXqzc/gxB26qg+up2KRCXdwSdN1H0AKjn0Eqe FY7MWWq3kC9sNFyV9i7EOc1qJyziYnvcljpgTg5s 5G32hPty6Frem7xXZgk/zL3mvnwFvHmxb9xmTjO4 Z4mNgGJPqP0GsQ6BAj9CEg6ID1GNfVzK8ZuA+LMR xMQYCUpLQr1Rk7ddYIAyfsmynOMx3qnjPCsd7pYz EPORWPjpYPjJaLgqHN4WHt5K8uhvE5ZC4lLsWBEU l4LZ6rD4KaIKgHEF6xTXfyI2bmSSDsqW1cHx20BH Hd7i5tuGx1tKcf0jhmVg9bRCnnKoyhhe/oMQXsYn KBsTFaNqOrS5cNTcL4Syb7N+WgJ3T75B7eXG6EPe xgC/SlxlXxB/nvnJ24IU0PIvQ7XrqCsveclHkh+3 4CV8t138ozXr5OH32v8fUftDtIuWtyTFvkDdj4Pd wsIWfx6fXqJufwNwVzuAvC2Akd0DxMuV+un4SnsA cPXHbQEYw5fZAeTl3Mfg4R3tAHRM/L4B+AdtADIA qZ6NiKz7chuAvx9M3tFG4G9bxCgl7LP9vWf/Aw== '))); ?> Neiespējami iztulkot, un pac labākais, ka tas pild visas funkcijas!!! Vai piedodiet par texta garumu! Link to comment Share on other sites More sharing options...
slicer Posted June 22, 2006 Report Share Posted June 22, 2006 Tad tu viņu vienk. sazipo? :) Link to comment Share on other sites More sharing options...
bubu Posted June 22, 2006 Report Share Posted June 22, 2006 slicer: jā, un ar base64 arī apstrādā. ricshs: Garus kodus jāliek paste.php.lv. Nākamreiz dzēsīšu ārā. Lūdzu atkodēšanas skripts: Ieliekam visu to blahblah garo kādā failā, piemēram d.txt (to no 7VvrctPIEv6drdp3mNWhwN44TuwAC0kcjpPIiWud līdz qZ6NiKz7chuAvx9M3tFG4G9bxCgl7LP9vWf/Aw==). Enteri var palikt. Un tad palaižam šo skriptu: <?php $f = file_get_contents("d.txt"); $x = gzinflate(base64_decode(str_replace("\n", "", $f))); file_put_contents("d.decoded.txt", $x); ?> Link to comment Share on other sites More sharing options...
v3rb0 Posted June 22, 2006 Report Share Posted June 22, 2006 vismaz salt stringu piemest klāt vajadzēja. Link to comment Share on other sites More sharing options...
bubu Posted June 22, 2006 Report Share Posted June 22, 2006 Kam tad? base64? Nu pēc base64_decode tad izvāktu to salt. Link to comment Share on other sites More sharing options...
andrisp Posted June 23, 2006 Report Share Posted June 23, 2006 bet labums ta kāds ? nē nopietni - kāda jēga ? Link to comment Share on other sites More sharing options...
Delfins Posted June 23, 2006 Report Share Posted June 23, 2006 \m/ hax0r Link to comment Share on other sites More sharing options...
ricshs Posted June 23, 2006 Author Report Share Posted June 23, 2006 Kā kāda jēga??? Kad tu atrod kādu prikoligu lapu, tu neapskaties sourci ? Es tā daru, bet ar šī scripta palīdzību sourci pārvērš keburos, ko atpāzīst tikai browseris.... Link to comment Share on other sites More sharing options...
v3rb0 Posted June 23, 2006 Report Share Posted June 23, 2006 nu be paga, tak tā prikolīga lapa ir htmls, a tu php 'nokodē'. bubu: doma bija ka to stringu kaut kā pēc pašizdomāta algoritma pieskaita klāt - piemēram katram otram simbolam, sākot ar simbolu floor(strlen($str)/3)) pamaina ascii kodu par i-tā simbola no stringa ascii koda vērtību (ja iziet ārpus rāmjiem, tad sāk no sākuma skaitīt). vai tas arī neskaitās salt string - nezinu.. Link to comment Share on other sites More sharing options...
Klez Posted June 23, 2006 Report Share Posted June 23, 2006 kaada jeega html kodeet ciet ? Link to comment Share on other sites More sharing options...
Delfins Posted June 23, 2006 Report Share Posted June 23, 2006 Jēgas nav, tas jau bija zināms no paša sākuma... $cp current_topic /dev/null Link to comment Share on other sites More sharing options...
Recommended Posts