Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 25, 2012
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: mr_moore
New Today: 1
New Yesterday: 3
Overall: 8202

People Online:
Visitors: 249
Members: 1
Total: 250

Online Now:
01: mr_moore - Forums
milw0rm
·[webapps / 0day] - appRain CMF Arbitrary PHP File Upload Vulnerability
·[local exploits] - OpenOffice OLE Importer DocumentSummaryInformatio n Stream Handling
·[local exploits] - Mod_Auth_OpenID Session Stealing Vulnerability
·[dos / poc] - Symantec End Point Protection 11.x & Symantec Network Access Control 11.x LCE
·[dos / poc] - Tftpd32 DHCP Serve 4.00 Denial Of Service
·[webapps / 0day] - Ajaxmint Gallery 1.0 Local File Inclusion
·[webapps / 0day] - RuubikCMS 1.1.0 Beta XSS / Disclosure / Directory Traversal
·[webapps / 0day] - Insight Creative Sql injection/Reflected XSS Vulnerabilties
·[webapps / 0day] - AFFY (index.php) Blind Sql Injection Vulnerability
·[webapps / 0day] - ezContents (1.x.x , 2.0.3) Blind injection/Reflected XSS Vulnerabilties

read more...
PacketStorm News
·Mandriva Linux Security Advisory 2012-080
·Red Hat Security Advisory 2012-0688-01
·Debian Security Advisory 2479-1
·Debian Security Advisory 2478-1
·Ubuntu Security Notice USN-1450-1
·Drupal BrowserID 7.x Cross Site Request Forgery
·Drupal Taxonomy List 6.x Cross Site Scripting
·Drupal Search API 7.x Cross Site Scripting
·Secunia Security Advisory 49200
·Secunia Security Advisory 49235

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Php -> encode/decode
Post new topic  Reply to topic View previous topic :: View next topic 
encode/decode
PostPosted: Sat Apr 23, 2011 8:38 am Reply with quote
oprea
Beginner
Beginner
 
Joined: Apr 23, 2011
Posts: 4




Hey i want to edit 1 php file but is codet so i found how to decode it with Universal_Decoder_PHP_5.2 i edited it but now i don't know how and with what to encode back .. i need do many edits so i need a program if somebody can give me a link please.

Thanks.


This is the code .

Code:
<?php if(!function_exists("TC9A16C47DA8EEE87")){function TC9A16C47DA8EEE87($T059EC46CFE335260){$T059EC46CFE335260=base64_decode($T059EC46CFE335260);$TC9A16C47DA8EEE87=0;$TA7FB8B0A1C0E2E9E=0;$T17D35BB9DF7A47E4=0;$T65CE9F6823D588A7=(ord($T059EC46CFE335260[1])<<8)+ord($T059EC46CFE335260[2]);$TBF14159DC7D007D3=3;$T77605D5F26DD5248=0;$T4A747C3263CA7A55=16;$T7C7E72B89B83E235="";$T0D47BDF6FD9DDE2E=strlen($T059EC46CFE335260);$T43D5686285035C13=__FILE__;$T43D5686285035C13=file_get_contents($T43D5686285035C13);$T6BBC58A3B5B11DC4=0;preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"),$T43D5686285035C13,$T6BBC58A3B5B11DC4);for(;$TBF14159DC7D007D3<$T0D47BDF6FD9DDE2E;){if(count($T6BBC58A3B5B11DC4)) exit;if($T4A747C3263CA7A55==0){$T65CE9F6823D588A7=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$T65CE9F6823D588A7+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++]);$T4A747C3263CA7A55=16;}if($T65CE9F6823D588A7&0x8000){$TC9A16C47DA8EEE87=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<4);$TC9A16C47DA8EEE87+=(ord($T059EC46CFE335260[$TBF14159DC7D007D3])>>4);if($TC9A16C47DA8EEE87){$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])&0x0F)+3;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T17D35BB9DF7A47E4++)$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4]=$T7C7E72B89B83E235[$T77605D5F26DD5248-$TC9A16C47DA8EEE87+$T17D35BB9DF7A47E4];$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}else{$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$TA7FB8B0A1C0E2E9E+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++])+16;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4++]=$T059EC46CFE335260[$TBF14159DC7D007D3]);$TBF14159DC7D007D3++;$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}}else $T7C7E72B89B83E235[$T77605D5F26DD5248++]=$T059EC46CFE335260[$TBF14159DC7D007D3++];$T65CE9F6823D588A7<<=1;$T4A747C3263CA7A55--;if($TBF14159DC7D007D3==$T0D47BDF6FD9DDE2E){$T43D5686285035C13=implode("",$T7C7E72B89B83E235);$T43D5686285035C13="?".">".$T43D5686285035C13;return $T43D5686285035C13;}}}}eval(TC9A16C47DA8EEE87("QAAFPGh0bWw+DQo8aGVhZACBLwCUgAABMCEtLUxpdmUgc3RhdHVzIAAQcGFuZWwg77+9IGkA0HJvcGUAAHJ0eSBvZiBaYWNoIChtc24QADogegCwKGF0KWdpZGVvbi5pDABuKS4gBKMDgUFsbCByaWdodHMAcCByZXNlcnZlZAZAB2EAcFlvdSAACG1heSBPTkxZIHVzZQBCaXQgAABmb3IgRm9yZ290dGVuIHRoBAJhdCB3YQgQdXJjaGFzZWQCES4gAC0tBGxOT1Qgc2hhcmUsIChyAARlKXNlbGwsIGNsYWltAQFtb4JADXBjb3B5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NYwBlHRYPE3CxY78GcHeyPhKRApEJf/QJLdLRwHO0AKBr0QKRASQCJG5jOYVxRGLhwG9t//dpdAOwd7IAgAQyBkEAwARyARgpwAfyUIBvh0KIcLBAAAA+"));?>
View user's profile Send private message
PostPosted: Sat Apr 23, 2011 3:09 pm Reply with quote
johnburn
Advanced user
Advanced user
 
Joined: Jan 14, 2011
Posts: 198
Location: Malaysia




Code:
<html>
<head>
</head>

<!--Live status panel � is property of Zach (msn: zach(at)gideon.in).
<!--� All rights reserved!-->
<!--You may ONLY use use it for Forgotten that was purchased for.-->
<!--You may NOT share, (re)sell, claim (remove copyright) or distribute it in ANY way.-->
<!--Licenced to: L2Forgotten-->

<title>Lineage II Forgotten - Character</title>
<link rel="StyleSheet" href="main.css" type="text/css" media="screen">
<link rel="StyleSheet" href="nwatch.css" type="text/css" media="screen">
<script defer type="text/javascript" src="js/opacity.js"></script>
<script defer type="text/javascript" src="js/ajax.js"></script>
<script defer type="text/javascript" src="js/nwatch.js"></script>

<style type="text/css">
input {
   text-indent : 2px;
}

input.post, textarea {
   font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
   border: solid 1px #6c6c6c;
   background-color: #3c3c3c;
   color: #FFFFFF;
}

textarea {
   background: #5174A0 center center no-repeat;
}

* html input.post, * html textarea {
   border-color: #cacaca;
}

input.post:hover, textarea:hover {
   border-color: #d4e55f;
   color: #d4e55f;
   background-color: #3c3c3c;
}

input.post:focus, textarea:focus { border-color: #7ce500; color: #7ce500; }

input.mainoption {
   background-color: #3c3c3c;
   color: #FFFFFF;
   font-weight : bold;
   font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
   border: solid 1px #cacaca;
}

input.mainoption:hover, input.liteoption:hover { border-color: #FFFFFF; }
input.mainoption:focus, input.liteoption:focus { color: #FFFFFF; border-color: #FFFFFF; }



</style>
</head>

<body>



<div class="bgu">

<table cellspacing="0" cellpadding="0" class="lay"><td class="lay_td">

   <table cellspacing="0" cellpadding="0" align="center">
         <tr><td class="nwatch_top"></td></tr>
         <tr><td class="nwatch_mid"><table cellspacing="0" cellpadding="0" class="nwatch_mid_con" align="center"><tr><td>



      <table cellspacing="0" cellpadding="0" style="margin-top:8px;" width="100%"><td width="40"></td>
<td style="vertical-align:top;" width="600">

            </div>
<div class='list'><div class='list_t1'><span class='opacity'><span class='t3'></span></span>INFORMATION</div>
                  <div class='list_holder'>
                     <div class='list_con'><b>
Live status panel allows you to look up status, skills, subclasses, inventory and some other information of either player or clan. Simple enter name you would like to check and press "Check" button
                     </b></div>
                  </div>

                  <div class='list'><div class='list_t1'><span class='opacity'><span class='t3'></span></span>CHECK CHARACTER</div>
                  <div class='list_holder'>
                     <div class='list_con'><b>
                     <center>
<form method='POST' action='char.php'>Character Name: <input class="post" type='text' name='name'> <input class="post" type='submit' value='Check &raquo;' name='login'></form> 
</div>
                  </div>

               </div>
            </div>
<div class='list'><div class='list_t1'><span class='opacity'><span class='t3'></span></span>CHECK CLAN</div>
                  <div class='list_holder'>
                     <div class='list_con'><b>
                     <center>
<form method='POST' action='clan_info.php'>Clan Name: <input class="post" type='text' name='clan'> <input class="post" type='submit' value='Check &raquo;' name='login'></form> 
</div>
                  </div>





               </div>
            </div>
<center><div class='list'><div class='list_t1'>Live status panel � is property of <a href="mailto:zach@gideon.in" title="msn: zach@gideon.in"><u>Zach</u></a>. All rights reserved. Licenced to: L2Forgotten</div></div></center>
            </td><td width="40"></td></table>

                  
         </td></tr></table></td></tr>   
         <tr><td class="nwatch_bottom"></td></tr>
   </table>

</td></table>

</div>

</body>
</html>
View user's profile Send private message
encode
PostPosted: Sat Apr 23, 2011 4:57 pm Reply with quote
oprea
Beginner
Beginner
 
Joined: Apr 23, 2011
Posts: 4




i know to decode but how i encode it back ?
View user's profile Send private message
encoder
PostPosted: Sun Apr 24, 2011 11:38 am Reply with quote
oprea
Beginner
Beginner
 
Joined: Apr 23, 2011
Posts: 4




so somebody can give me a encoder for that please ?
View user's profile Send private message
Re: encoder
PostPosted: Sun Apr 24, 2011 1:46 pm Reply with quote
Cyko
Moderator
Moderator
 
Joined: Jul 21, 2009
Posts: 353




oprea wrote:
so somebody can give me a encoder for that please ?


1. Why would you want to encode it again? Rolling Eyes
2. Wheres this file from - any particular public script?
View user's profile Send private message
encode/decode
  www.waraxe.us Forum Index -> Php
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2010 Janek Vind "waraxe"

Page Generation: 0.079 Seconds