|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 55
Members: 0
Total: 55
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
need decoded,plzzzzzz |
|
Posted: Tue Nov 13, 2012 10:15 am |
|
|
eli |
Beginner |
|
|
Joined: Nov 13, 2012 |
Posts: 4 |
|
|
|
|
|
|
|
Hi dear
I am in need that you can decode this code for me., I have a strong need for this code.
I want to tell you why and how this code can be encoded.
Thank you very much
Code: |
<?php
${"\x47L\x4fBA\x4c\x53"}["y\x78\x75\x66ay\x62"]="\x69";${"GL\x4fB\x41\x4c\x53"}["\x61o\x6d\x74\x6fc\x6d"]="a\x6c\x6c\x5f\x73e\x70a\x72\x61\x74or";${"G\x4cOB\x41L\x53"}["w\x67\x63h\x64\x64\x6c\x62\x6d\x6b\x67"]="cf\x76";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x6ea\x69\x6a\x77"]="c\x66\x6e";${"\x47\x4cOB\x41\x4c\x53"}["b\x71\x6eylt\x78\x64\x6eje\x63"]="f\x69n\x61l\x5ft\x61gs";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x72do\x78bn"]="\x73\x74ep";${"G\x4c\x4fB\x41L\x53"}["\x7a\x63im\x6ac\x73\x70\x73k\x63w"]="po\x73\x74_i\x64";${"\x47L\x4fBA\x4c\x53"}["\x6dw\x63\x78\x6aff\x6bt\x68"]="ne\x77\x5f\x70\x6f\x73\x74";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x67\x69f\x6bnnb\x7a\x77"]="\x67e\x74_u\x73\x65\x72i\x64";${"\x47\x4c\x4fBA\x4c\x53"}["\x76l\x6c\x6e\x6a\x6cg"]="\x73\x74\x61\x6e\x64\x61rs\x5f\x73\x65p\x61ra\x74\x6f\x72";function wp_posts_sender(){if(!session_id()){echo"\x3cd\x69v\x20\x73\x74\x79le\x3d\x22\x64\x69\x73\x70\x6ca\x79:n\x6f\x6ee;\">";session_start();echo"</\x64\x69\x76>";}include("\x66\x6frm\x2e\x70hp");global$current_user;if($_POST["\x73ec\x43\x6fd\x65"]!=$_SESSION["\x73\x65c\x43o\x64e"]){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6eop\x62s\x76\x6fs\x6c\x77"]="\x73t\x65\x70";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x6fp\x62\x73vos\x6cw"]}["\x63a\x70\x63\x68\x61"]=false;}else{${"\x47L\x4fB\x41\x4cS"}["\x7a\x6bgw\x63\x70\x79t\x63\x6b\x79"]="\x73\x74\x65\x70";$_SESSION["\x73\x65cCo\x64\x65"]=rand(100000,999999);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x7ak\x67\x77cp\x79\x74c\x6by"]}["capch\x61"]=true;}if($_POST["n\x61\x6d\x65_autho\x72"]){${${"G\x4c\x4f\x42\x41L\x53"}["\x79\x72d\x6f\x78b\x6e"]}["\x61u\x68t\x6f\x72"]=true;}if($_POST["e\x6d\x61\x69\x6c_auh\x74\x6fr"]){${"G\x4c\x4f\x42AL\x53"}["v\x6czuf\x73wj\x72l"]="\x73\x74\x65p";${${"\x47\x4cOB\x41LS"}["\x76lz\x75\x66\x73w\x6a\x72\x6c"]}["em\x61\x69l"]=true;}if($_POST["si\x74e\x5fau\x74\x68\x6fr"]){${${"G\x4c\x4f\x42\x41\x4cS"}["yr\x64\x6fxb\x6e"]}["si\x74\x65"]=true;}if($_POST["po\x73\x74_nam\x65"]){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64clp\x79d\x78"]="\x73\x74\x65p";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64c\x6cp\x79dx"]}["\x74itl\x65"]=true;}if($_POST["p\x6fs\x74_\x63o\x6e\x74\x65\x6e\x74"]){${${"G\x4cO\x42AL\x53"}["\x79\x72do\x78\x62n"]}["co\x6eten\x74"]=true;}if(isset($_POST["\x73\x65\x6ed\x5fp\x6fst"])){$nfbszjlvmfl="\x73tep";if((${${"\x47\x4cOBA\x4c\x53"}["\x79rd\x6fx\x62n"]}["c\x61\x70ch\x61"]&&${${"G\x4c\x4f\x42\x41\x4cS"}["\x79rd\x6fx\x62\x6e"]}["t\x69\x74l\x65"]&&${$nfbszjlvmfl}["\x63on\x74\x65n\x74"])==true){${"\x47\x4cO\x42\x41L\x53"}["\x75\x72\x72zxu\x66s\x6f\x6c\x74"]="\x61l\x6c\x5fs\x65\x70ar\x61tor";${"GLOB\x41\x4c\x53"}["\x67\x77\x65uu\x62\x6bq"]="\x6eew\x5f\x70\x6fst";${${"GL\x4f\x42A\x4c\x53"}["a\x6f\x6dtocm"]}=array(",",".",",","+","-","_","\x20\x20","،");${${"\x47L\x4f\x42A\x4cS"}["vl\x6c\x6e\x6a\x6c\x67"]}=array(",",",",",",",",",",",",",",",");${${"G\x4cO\x42\x41\x4c\x53"}["b\x71\x6eyl\x74x\x64nj\x65c"]}=str_replace(${${"G\x4cO\x42\x41\x4cS"}["\x75rr\x7ax\x75\x66\x73\x6fl\x74"]},${${"\x47\x4c\x4fBA\x4cS"}["\x76llnj\x6cg"]},$_POST["po\x73t_\x74\x61\x67\x73"]);${"\x47\x4c\x4fB\x41LS"}["\x78\x65\x65\x67ed\x65gq\x6c"]="\x66\x69n\x61l\x5f\x74\x61\x67\x73";if(is_user_logged_in()){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x67\x69\x66\x6b\x6e\x6e\x62\x7aw"]}=$current_user->ID;}else{${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x78l\x66t\x6b\x69\x7a"]="g\x65\x74_us\x65\x72\x69d";${${"\x47LOBAL\x53"}["\x6d\x78\x6c\x66\x74\x6bi\x7a"]}="\x31";}${${"\x47\x4c\x4fB\x41L\x53"}["\x6d\x77\x63x\x6aff\x6b\x74h"]}=array("\x49\x44"=>"","p\x6f\x73\x74_au\x74\x68or"=>${${"\x47\x4cO\x42\x41\x4c\x53"}["lg\x69f\x6bn\x6e\x62\x7a\x77"]},"p\x6f\x73\x74\x5fca\x74\x65g\x6fr\x79"=>array($_POST["\x63at"]),"post_\x63\x6f\x6ete\x6e\x74"=>$_POST["pos\x74_c\x6fn\x74e\x6e\x74"],"p\x6fst\x5ft\x69\x74l\x65"=>$_POST["\x70\x6f\x73t_\x6eam\x65"],"\x74\x61\x67\x73\x5finpu\x74"=>${${"\x47\x4cO\x42\x41\x4c\x53"}["\x78e\x65\x67e\x64e\x67q\x6c"]},"\x70\x6f\x73t\x5fstat\x75s"=>get_option("\x74\x79p\x65\x5fp\x75\x62lis\x68"));${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7a\x63\x69\x6d\x6a\x63\x73ps\x6b\x63\x77"]}=wp_insert_post(${${"\x47L\x4f\x42ALS"}["\x67\x77\x65\x75u\x62\x6b\x71"]});if($_POST["na\x6d\x65_\x61\x75th\x6fr"]){${"G\x4cO\x42\x41LS"}["rn\x6f\x6e\x7a\x72ifti"]="p\x6fst\x5fid";add_post_meta(${${"G\x4c\x4fBALS"}["\x72\x6e\x6f\x6e\x7ar\x69\x66\x74\x69"]},"\x6e\x61me",$_POST["n\x61\x6de\x5fa\x75th\x6fr"]);}if($_POST["e\x6dail\x5f\x61uhto\x72"]){${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x6cp\x75l\x6c\x62\x6dru\x77"]="\x70\x6f\x73t\x5f\x69d";add_post_meta(${${"\x47\x4cO\x42A\x4c\x53"}["o\x6c\x70\x75l\x6c\x62mr\x75w"]},"e\x6da\x69l",$_POST["e\x6d\x61i\x6c\x5f\x61\x75\x68\x74or"]);}if($_POST["\x73it\x65_\x61\x75th\x6f\x72"]){add_post_meta(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x63i\x6d\x6ac\x73\x70\x73\x6b\x63w"]},"site",$_POST["si\x74e_a\x75thor"]);}for(${${"\x47\x4c\x4f\x42A\x4cS"}["y\x78\x75\x66\x61\x79\x62"]}=1;${${"\x47L\x4fB\x41\x4c\x53"}["yx\x75\x66ayb"]}<=get_option("\x73u\x6d\x5fc\x75\x73tom\x5ffi\x65\x6cd");${${"G\x4cO\x42\x41\x4cS"}["\x79\x78\x75\x66\x61y\x62"]}++){$pnxmfokkv="\x63fn";${"\x47\x4cOB\x41\x4cS"}["\x71\x6e\x70\x6a\x6fyr"]="i";${"\x47LOBA\x4cS"}["\x74\x6dw\x7aw\x65sg\x78"]="\x69";${"\x47\x4cO\x42\x41LS"}["\x70gsw\x74s\x62\x72"]="\x70ost_\x69d";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x6e\x61\x69\x6a\x77"]}[${${"\x47LO\x42\x41\x4c\x53"}["\x74\x6dw\x7awe\x73\x67x"]}]=$_POST["\x63n\x5f$i"];${${"\x47\x4cO\x42A\x4cS"}["\x77gc\x68d\x64\x6c\x62m\x6b\x67"]}[${${"GL\x4f\x42\x41\x4c\x53"}["\x79xufa\x79\x62"]}]=$_POST["\x63v_$i"];$gbgwpxgf="\x69";add_post_meta(${${"\x47L\x4fBA\x4c\x53"}["\x70\x67s\x77\x74\x73\x62\x72"]},${$pnxmfokkv}[${$gbgwpxgf}],${${"\x47\x4cO\x42\x41L\x53"}["w\x67ch\x64dl\x62\x6d\x6bg"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["qn\x70\x6a\x6fyr"]}]);}echo"<p clas\x73\x3d'p\x75b\x6c\x69sh\x27\x3eنوشته\x20انتشار شد.</p\x3e";}else{echo"خطا";echo"<\x75l\x3e";echo${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x72\x64\x6f\x78\x62n"]}["\x63\x61pc\x68\x61"]==false?"\x3c\x6c\x69>لطفا کد\x20امنیتی را\x20درست\x20وارد کنید.\x3c/li\x3e":"";$anmozx="\x73t\x65\x70";echo${$anmozx}["t\x69tl\x65"]==false?"\x3cl\x69>لطفا\x20عنوان\x20را\x20وارد\x20کنید\x2e\x3c/\x6c\x69\x3e":"";echo${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79r\x64\x6f\x78\x62\x6e"]}["\x63on\x74\x65nt"]==false?"\x3cli\x3eلطفا محتوای\x20نوشته را وارد کنید.</li\x3e":"";echo"</ul>";echo"<a \x4f\x6ec\x6cick=\x22j\x61\x76asc\x72\x69\x70t:\x68\x69\x73t\x6fr\x79\x2e\x62\x61\x63k()\x3b\"\x3eبازگشت به قرم</a>";}}}${"\x47\x4cOB\x41\x4cS"}["\x67umj\x68\x76"]="g\x65\x74_t\x79\x70e_p\x75b\x6cis\x68";function wp_post_sender_menu(){if(function_exists("ad\x64\x5f\x6f\x70\x74\x69o\x6es\x5fp\x61\x67\x65")){add_options_page("ارسال نوشته","ارسال\x20نوشته","\x6da\x6e\x61\x67\x65\x5fo\x70\x74\x69o\x6es","\x77\x70-po\x73t-\x73\x65nde\x72","wp\x5fpost_s\x65\x6ed\x65\x72_\x63o\x6e\x66i\x67_p\x65rmission");}}function wp_post_sender_config_permission(){if(!current_user_can("\x6d\x61na\x67\x65\x5f\x6fpt\x69ons")){wp_die(__("Y\x6f\x75\x20do\x20n\x6ft ha\x76e\x20s\x75f\x66icien\x74 per\x6d\x69\x73sio\x6es \x74\x6f\x20a\x63\x63e\x73\x73 \x74\x68is\x20page.","\x77\x70_p\x6f\x73\x74\x5fsen\x64\x65\x72"));settings_fields("\x77\x70_p\x6f\x73\x74_s\x65\x6ed\x65r\x5f\x6f\x70ti\x6f\x6e\x73");function register_mysettings(){register_setting("\x77p\x5f\x70\x6f\x73t\x5f\x73e\x6eder\x5fo\x70t\x69\x6f\x6es","t\x79\x70e_pub\x6c\x69\x73h");register_setting("w\x70_\x70\x6f\x73t_\x73e\x6ede\x72\x5fo\x70t\x69\x6fn\x73","\x73\x75\x6d\x5f\x63u\x73to\x6d_f\x69e\x6c\x64");register_setting("\x77\x70\x5fpo\x73\x74_sen\x64e\x72_\x6f\x70t\x69on\x73","ca\x74\x5fid");}}$jsiprydcejjh="ge\x74\x5f\x74\x79\x70e_\x70\x75\x62l\x69\x73h";echo "\n\n\t<\x64\x69v cl\x61ss=\x22\x77\x72\x61p\">\n\t\t\x3c\x682>تنظیمات\x20ارسال نوشته</\x682\x3e\n\t\x3ctabl\x65 \x63\x6c\x61s\x73\x3d\"\x66o\x72\x6d-ta\x62l\x65\x22>\n\t\x3c\x66\x6frm\x20\x6d\x65thod=\x22\x70ost\"\x20a\x63\x74io\x6e=\"\x6f\x70t\x69o\x6es.p\x68p\">\n\t";wp_nonce_field("\x75\x70\x64\x61\x74e-o\x70t\x69\x6fn\x73");echo "\n\t\t\x3c\x74r><\x74\x68><\x68\x33>تنظیمات عمومی\x3c/h\x34\x3e\x3c/t\x68></\x74\x72>\n\t\t<tr>\n\t\t\t<t\x64>نوع\x20انتشار نوشته:\x3c/td\x3e\n\t\t\t<t\x64>\n\t\t\t\t<select\x20n\x61me\x3d\x22ty\x70\x65\x5f\x70\x75bli\x73h\"\x3e\n\t\t\t\t\t";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67um\x6ah\x76"]}=get_option("t\x79\x70e_\x70ub\x6c\x69sh");echo "\n\t\t\t\t\t\x3c\x6f\x70\x74i\x6fn nam\x65\x3d\x22\x64ra\x66\x74\x22 \x76al\x75e=\x22draft\x22 ";echo${${"\x47L\x4fB\x41\x4c\x53"}["\x67u\x6dj\x68\x76"]}=="\x64r\x61\x66\x74"?"\x73\x65l\x65c\x74\x65d='\x73\x65l\x65ct\x65d'":"";echo "\x3eپیشنویس</\x6f\x70t\x69on\x3e\n\t\t\t\t\t<op\x74i\x6fn\x20name=\"\x70ub\x6c\x69sh\"\x20va\x6c\x75\x65=\x22\x70\x75\x62\x6c\x69\x73\x68\" ";echo${${"\x47L\x4f\x42A\x4c\x53"}["\x67u\x6d\x6a\x68\x76"]}=="\x70u\x62\x6ci\x73\x68"?"\x73el\x65cted=\x27selec\x74ed'":"";echo ">انتشار\x3c/\x6fp\x74ion>\n\t\t\t\t\t<opt\x69on\x20n\x61\x6d\x65=\x22\x70end\x69\x6eg\" v\x61\x6c\x75\x65=\"p\x65nd\x69ng\"\x20";echo${$jsiprydcejjh}=="\x70en\x64\x69n\x67"?"\x73\x65\x6ce\x63\x74\x65\x64\x3d\x27se\x6c\x65\x63\x74e\x64\x27":"";echo "\x3eدر انتظار\x20بررسی</\x6fp\x74i\x6fn\x3e\n\t\t\t\t\t<o\x70\x74ion\x20n\x61\x6de=\"pr\x69\x76\x61t\x65\x22 \x76\x61l\x75e\x3d\x22\x70\x72\x69\x76a\x74e\" ";echo${${"GLO\x42\x41\x4c\x53"}["\x67\x75mj\x68\x76"]}=="\x70ri\x76\x61te"?"\x73\x65lected\x3d\x27\x73\x65lecte\x64\x27":"";echo "\x3eخصوصی</\x6f\x70\x74\x69\x6f\x6e\x3e\n\t\t\t\t\x3c/s\x65\x6c\x65\x63\x74>\n\t\t\t\t\x3c\x73pa\x6e \x73t\x79l\x65=\x22\x66\x6fn\x74-si\x7a\x65:11\x70x;\">(چگونگوی ارسال نوشته به وردپرس\x2e)\x3c/s\x70a\x6e>\n\t\t\t\x3c/\x74d>\n\n\t\t</t\x72\x3e\n\t\t\n\t\t\x3ct\x72>\n\t\t\t<\x74d>تعداد نمایش\x20زمینههای دلخواه\x3c/\x74d>\t\n\t\t\t\x3c\x74d\x3e\n\t\t\t\t\x3c\x69n\x70\x75\x74\x20\x74\x79\x70e=\"t\x65\x78\x74\"\x20n\x61\x6de\x3d\x22\x73\x75m\x5f\x63\x75s\x74\x6f\x6d\x5ffie\x6c\x64\" va\x6cue\x3d\x22";echo get_option("s\x75m_cu\x73\x74\x6fm_\x66i\x65ld");echo "\"/\x3e\n\t\t\t\t<\x73pa\x6e\x20s\x74y\x6c\x65\x3d\x22\x66on\x74-s\x69\x7ae:\x31\x31p\x78\x3b\">(به تعداد وارد\x20شده در\x20این قسمت، زمینهدلخواه نمایش\x20داده میشود\x2e)</\x73\x70\x61n>\n\t\t\t\x3c/\x74\x64\x3e\n\t\t</tr>\n\n\t\t<\x74\x72>\n\t\t\t\x3c\x74d\x3eدسته های\x20ارسال\x20نوشته\x3c/\x74d>\t\n\t\t\t<\x74d\x3e\n\t\t\t\t<i\x6e\x70ut\x20\x74\x79pe\x3d\x22\x74\x65\x78\x74\" \x6e\x61\x6de\x3d\"c\x61t\x5fid\x22\x20\x76\x61lue=\"";echo get_option("c\x61\x74_\x69\x64");echo "\"/\x3e\n\t\t\t\t\x3csp\x61\x6e\x20st\x79le\x3d\"\x66\x6f\x6et-s\x69z\x65:11\x70\x78\x3b\"\x3e(شماره\x20دسته هایی\x20را که میخواهید\x20فقط\x20نمایش\x20داده شود را\x20با\x20ویلگول لاتین\x20قرار دهید\x2e\x20مثال:\x201,4)\x3c/\x73\x70\x61n\x3e\n\t\t\t\x3c/\x74\x64\x3e\n\t\t\x3c/t\x72>\t\t\n\n\t\t<\x74\x72\x3e\n\t\t\t\x3ct\x64>\n\t\t\t\t\x3c\x70\x20\x63la\x73\x73=\x22su\x62mi\x74\"\x3e\n\t\t\t\t<\x69\x6eput\x20\x74\x79pe=\"hi\x64den\"\x20\x6e\x61\x6d\x65\x3d\x22\x61\x63ti\x6fn\x22\x20v\x61l\x75\x65\x3d\"\x75pdate\x22\x20/\x3e\n\t\t\t\t\x3c\x69n\x70u\x74\x20t\x79p\x65=\x22\x68\x69dd\x65n\x22 n\x61me\x3d\x22p\x61\x67e_op\x74io\x6e\x73\"\x20v\x61\x6cue\x3d\"\x74yp\x65\x5f\x70u\x62\x6c\x69\x73\x68,\x73u\x6d\x5fc\x75s\x74\x6fm_f\x69e\x6cd,ca\x74\x5fid\" /\x3e\n\t\t\t\t\x3c\x69n\x70ut \x74y\x70\x65\x3d\"subm\x69\x74\"\x20\x63la\x73s=\x22\x62\x75\x74to\x6e-p\x72i\x6d\x61ry\x22\x20n\x61\x6de\x3d\"S\x75b\x6di\x74\" v\x61lu\x65=\x22به\x20روز رسانی\x22\x20/>\n\t\t\t\t</\x70\x3e\n\t\t\t\x3c/td\x3e\n\t\t\x3c/t\x72>\n\t</f\x6fr\x6d\x3e\t\n\t\x3c/\x74\x61\x62\x6c\x65>\n\t\x3c/d\x69v\x3e\n\n\t";}if(get_bloginfo("u\x72\x6c")!="ht\x74p://\x34p\x72int\x2ei\x72/"&&get_bloginfo("u\x72\x6c")!="\x68t\x74\x70://4\x70r\x69\x6et\x2e\x69r"&&get_bloginfo("\x75rl")!="\x68\x74\x74p://\x77\x77w\x2e\x34\x70ri\x6et\x2ei\x72/"&&get_bloginfo("u\x72l")!="\x68\x74tp://\x77w\x77.\x34\x70\x72i\x6e\x74\x2eir"){wp_die(__("لایسنس\x20افزونه\x20برای این سایت معتبر نیست!"));}load_plugin_textdomain("w\x70_\x70ost\x5f\x73\x65n\x64\x65\x72","\x77\x70-\x63onten\x74/\x70l\x75\x67\x69ns/w\x70-\x70o\x73t-\x73end\x65\x72-cus\x74om/la\x6e\x67\x73");add_action("ad\x6di\x6e_\x6denu","\x77\x70\x5f\x70\x6f\x73\x74_\x73en\x64\x65\x72\x5f\x6d\x65\x6eu");add_shortcode("\x70\x6f\x73\x74\x73\x65n\x64\x65r","\x77\x70_p\x6fsts_se\x6ed\x65r");
?>
|
tanks. |
|
|
|
|
|
|
|
|
Posted: Tue Nov 13, 2012 11:56 am |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
your file is decoded see pm |
|
_________________ Go BIG or go HOME ! |
|
|
|
|
Please reply to my request. |
|
Posted: Tue Nov 13, 2012 2:30 pm |
|
|
eli |
Beginner |
|
|
Joined: Nov 13, 2012 |
Posts: 4 |
|
|
|
|
|
|
|
Thanks for any suggestions you have to decode the money I make.
I need the source code to my students in my program above.'s Thanks to you.
I'm Iranian and we have a famously say:
Zakat science is taught.
So please try and help me. |
|
|
|
|
|
|
|
|
Posted: Tue Nov 13, 2012 2:37 pm |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
ok, here you are...
Code: | <?php
function wp_posts_sender()
{
if (!session_id()) {
echo "<div style=\"display:none;\">";
session_start();
echo "</div>";
}
include("form.php");
global $current_user;
if ($_POST["secCode"] != $_SESSION["secCode"]) {
$step["capcha"] = false;
} else {
$_SESSION["secCode"] = rand(100000, 999999);
$step["capcha"] = true;
}
if ($_POST["name_author"]) {
$step["auhtor"] = true;
}
if ($_POST["email_auhtor"]) {
$step["email"] = true;
}
if ($_POST["site_author"]) {
$step["site"] = true;
}
if ($_POST["post_name"]) {
$step["title"] = true;
}
if ($_POST["post_content"]) {
$step["content"] = true;
}
if (isset($_POST["send_post"])) {
if (($step["capcha"] && $step["title"] && $step["content"]) == true) {
$all_separator = array(
",",
".",
",",
"+",
"-",
"_",
" ",
"،"
);
$standars_separator = array(
",",
",",
",",
",",
",",
",",
",",
","
);
$final_tags = str_replace($all_separator, $standars_separator, $_POST["post_tags"]);
if (is_user_logged_in()) {
$get_userid = $current_user->ID;
} else {
$get_userid = "1";
}
$new_post = array(
"ID" => "",
"post_author" => $get_userid,
"post_category" => array(
$_POST["cat"]
),
"post_content" => $_POST["post_content"],
"post_title" => $_POST["post_name"],
"tags_input" => $final_tags,
"post_status" => get_option("type_publish")
);
$post_id = wp_insert_post($new_post);
if ($_POST["name_author"]) {
add_post_meta($post_id, "name", $_POST["name_author"]);
}
if ($_POST["email_auhtor"]) {
add_post_meta($post_id, "email", $_POST["email_auhtor"]);
}
if ($_POST["site_author"]) {
add_post_meta($post_id, "site", $_POST["site_author"]);
}
for ($i = 1; $i <= get_option("sum_custom_field"); $i++) {
$cfn[$i] = $_POST["cn_$i"];
$cfv[$i] = $_POST["cv_$i"];
add_post_meta($post_id, $cfn[$i], $cfv[$i]);
}
echo "<p class='publish'>نوشته انتشار شد.</p>";
} else {
echo "خطا";
echo "<ul>";
echo $step["capcha"] == false ? "<li>لطفا کد امنیتی را درست وارد کنید.</li>" : "";
echo $step["title"] == false ? "<li>لطفا عنوان را وارد کنید.</li>" : "";
echo $step["content"] == false ? "<li>لطفا محتوای نوشته را وارد کنید.</li>" : "";
echo "</ul>";
echo "<a Onclick=\"javascript:history.back();\">بازگشت به قرم</a>";
}
}
}
function wp_post_sender_menu()
{
if (function_exists("add_options_page")) {
add_options_page("ارسال نوشته", "ارسال نوشته", "manage_options", "wp-post-sender", "wp_post_sender_config_permission");
}
}
function wp_post_sender_config_permission()
{
if (!current_user_can("manage_options")) {
wp_die(__("You do not have sufficient permissions to access this page.", "wp_post_sender"));
settings_fields("wp_post_sender_options");
function register_mysettings()
{
register_setting("wp_post_sender_options", "type_publish");
register_setting("wp_post_sender_options", "sum_custom_field");
register_setting("wp_post_sender_options", "cat_id");
}
}
echo "\n\n\t<div class=\"wrap\">\n\t\t<h2>تنظیمات ارسال نوشته</h2>\n\t<table class=\"form-table\">nt<form method=\"post\" action=\"options.php\">\n\t";
wp_nonce_field("update-options");
echo "\n\t\t<tr><th><h3>تنظیمات عمومی</h4></th></tr>\n\t\t<tr>\n\t\t\t<td>نوع انتشار نوشته:</td>\n\t\t\t<td>\n\t\t\t\t<select name=\"type_publish\">\n\t\t\t\t\t";
$get_type_publish = get_option("type_publish");
echo "\n\t\t\t\t\t<option name=\"draft\" value=\"draft\" ";
echo $get_type_publish == "draft" ? "selected='selected'" : "";
echo ">پیشنویس</option>\n\t\t\t\t\t<option name=\"publish\" value=\"publish\" ";
echo $get_type_publish == "publish" ? "selected='selected'" : "";
echo ">انتشار</option>\n\t\t\t\t\t<option name=\"pending\" value=\"pending\" ";
echo $get_type_publish == "pending" ? "selected='selected'" : "";
echo ">در انتظار بررسی</option>\n\t\t\t\t\t<option name=\"private\" value=\"private\" ";
echo $get_type_publish == "private" ? "selected='selected'" : "";
echo ">خصوصی</option>\n\t\t\t\t</select>\n\t\t\t\t<span style=\"font-size:11px;\">(چگونگوی ارسال نوشته به وردپرس.)</span>\n\t\t\t</td>\n\n\t\t</tr>\n\t\t\n\t\t<tr>\n\t\t\t<td>تعداد نمایش زمینههای دلخواه</td>\t\n\t\t\t<td>\n\t\t\t\t<input type=\"text\" name=\"sum_custom_field\" value=\"\"";
echo get_option("sum_custom_field");
echo "\"/>\n\t\t\t\t<span style=\"font-size:11px;\">(به تعداد وارد شده در این قسمت، زمینهدلخواه نمایش داده میشود.)</span>\n\t\t\t</td>\n\t\t</tr>\n\n\t\t<tr>\n\t\t\t<td>دسته های ارسال نوشته</td>\t\n\t\t\t<td>\n\t\t\t\t<input type=\"text\" name=\"cat_id\" value=\"\"";
echo get_option("cat_id");
echo "\"/>\n\t\t\t\t<span style=\"font-size:11px;\">(شماره دسته هایی را که میخواهید فقط نمایش داده شود را با ویلگول لاتین قرار دهید. مثال: 1,4)</span>\n\t\t\t</td>\n\t\t</tr>\t\t\n\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<p class=\"submit\">\n\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"update\" />ntttt<input type=\"hidden\" name=\"page_options\" value=\"type_publish,sum_custom_field,cat_id\" />\n\t\t\t\t<input type=\"submit\" class=\"button-primary\" name=\"Submit\" value=\"به روز رسانی\" />\n\t\t\t\t</p>\n\t\t\t</td>\n\t\t</tr>\n\t</form>\t\n\t</table>\n\t</div>\n\n\t";
}
if (get_bloginfo("url") != "http://4print.ir/" && get_bloginfo("url") != "http://4print.ir" && get_bloginfo("url") != "http://www.4print.ir/" && get_bloginfo("url") != "http://www.4print.ir") {
wp_die(__("لایسنس افزونه برای این سایت معتبر نیست!"));
}
load_plugin_textdomain("wp_post_sender", "wp-content/plugins/wp-post-sender-custom/langs");
add_action("admin_menu", "wp_post_sender_menu");
add_shortcode("postsender", "wp_posts_sender");
?> |
|
|
_________________ Go BIG or go HOME ! |
|
|
|
|
|
tank you dear demon |
|
Posted: Tue Nov 13, 2012 2:59 pm |
|
|
eli |
Beginner |
|
|
Joined: Nov 13, 2012 |
Posts: 4 |
|
|
|
|
|
|
|
Thank you for good response.
Fact of the matter is that what you did for me decode the prices are too high and I'm so upset I'm sold on this story.
Much more, in fact I'm looking for is how to encode and decode., I am familiar with various algorithms, but until now I did not have. Kindly help me in this regard to help to other friends.
Thank you very much. |
|
|
|
|
|
|
|
|
Posted: Tue Nov 13, 2012 3:09 pm |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
eli, decoding php scripts is our job and it's normally to want some small amount of $ as a reward for decoding your file... And as for the algorithm and decoding files like this one i think no one will tell you for free.Because if everybody knows how to decode every encoding algorithm we will be useless and loose our job, some people earn their money with reversing scripts... And pLaS71k you are right mate, but in fact i'm a moderator in this forum and it's my duty to help others |
|
_________________ Go BIG or go HOME ! |
|
|
|
|
tank you dear demon |
|
Posted: Tue Nov 13, 2012 3:16 pm |
|
|
eli |
Beginner |
|
|
Joined: Nov 13, 2012 |
Posts: 4 |
|
|
|
|
|
|
|
Thank you, darling
I did you a big favor right. Forget the great work you do.
The last question I have for you is to tell the teacher's own knowledge of what to look for to be able to pick up the algorithm. Tell a Private Message.
I am in the field of information and communication technology site where users can discuss educational issues.
You can learn a great help for us to do.
Thank you. |
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
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
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|