!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/phpMyAdmin/libraries/config/   drwxr-xr-x
Free 52.32 GB of 127.8 GB (40.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     setup.forms.php (10.59 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * List of avaible forms, each form is described as an array of fields to display.
 * Fields MUST have their counterparts in the $cfg array.
 *
 * There are two possible notations:
 * $forms['Form group']['Form name'] = array('Servers' => array(1 => array('host')));
 * can be written as
 * $forms['Form group']['Form name'] = array('Servers/1/host');
 *
 * You can assign default values set by special button ("set value: ..."), eg.:
 * 'Servers/1/pmadb' => 'phpmyadmin'
 *
 * To group options, use:
 * ':group:' . __('group name') // just define a group
 * or
 * 'option' => ':group' // group starting from this option
 * End group blocks with:
 * ':group:end'
 *
 * @package phpMyAdmin-setup
 */

$forms = array();
$forms['_config.php'] = array(
    
'DefaultLang',
    
'ServerDefault');
$forms['Servers']['Server'] = array('Servers' => array(=> array(
    
'verbose',
    
'host',
    
'port',
    
'socket',
    
'ssl',
    
'connect_type',
    
'extension',
    
'compress',
    
'nopassword')));
$forms['Servers']['Server_auth'] = array('Servers' => array(=> array(
    
'auth_type',
    
':group:' __('Config authentication'),
        
'user',
        
'password',
        
':group:end',
    
':group:' __('Cookie authentication'),
        
'auth_swekey_config' => './swekey.conf',
        
':group:end',
    
':group:' __('HTTP authentication'),
        
'auth_http_realm',
        
':group:end',
    
':group:' __('Signon authentication'),
        
'SignonSession',
        
'SignonURL',
        
'LogoutURL')));
$forms['Servers']['Server_config'] = array('Servers' => array(=> array(
    
'only_db',
    
'hide_db',
    
'AllowRoot',
    
'AllowNoPassword',
    
'DisableIS',
    
'AllowDeny/order',
    
'AllowDeny/rules',
    
'ShowDatabasesCommand',
    
'CountTables')));
$forms['Servers']['Server_pmadb'] = array('Servers' => array(=> array(
    
'pmadb' => 'phpmyadmin',
    
'controluser',
    
'controlpass',
    
'verbose_check',
    
'bookmarktable' => 'pma_bookmark',
    
'relation' => 'pma_relation',
    
'userconfig' => 'pma_userconfig',
    
'table_info' => 'pma_table_info',
    
'column_info' => 'pma_column_info',
    
'history' => 'pma_history',
    
'tracking' => 'pma_tracking',
    
'table_coords' => 'pma_table_coords',
    
'pdf_pages' => 'pma_pdf_pages',
    
'designer_coords' => 'pma_designer_coords')));
$forms['Servers']['Server_tracking'] = array('Servers' => array(=> array(
    
'tracking_version_auto_create',
    
'tracking_default_statements',
    
'tracking_add_drop_view',
    
'tracking_add_drop_table',
    
'tracking_add_drop_database',
)));
$forms['Features']['Import_export'] = array(
    
'UploadDir',
    
'SaveDir',
    
'RecodingEngine' => ':group',
        
'IconvExtraParams',
        
':group:end',
    
'ZipDump',
    
'GZipDump',
    
'BZipDump',
    
'CompressOnFly');
$forms['Features']['Security'] = array(
    
'blowfish_secret',
    
'ForceSSL',
    
'CheckConfigurationPermissions',
    
'TrustedProxies',
    
'AllowUserDropDatabase',
    
'AllowArbitraryServer',
    
'LoginCookieRecall',
    
'LoginCookieValidity',
    
'LoginCookieStore',
    
'LoginCookieDeleteAll');
$forms['Features']['Page_titles'] = array(
    
'TitleDefault',
    
'TitleTable',
    
'TitleDatabase',
    
'TitleServer');
$forms['Features']['Warnings'] = array(
    
'PmaNoRelation_DisableWarning',
    
'SuhosinDisableWarning',
    
'McryptDisableWarning');
$forms['Features']['Developer'] = array(
    
'UserprefsDeveloperTab',
    
'Error_Handler/display',
    
'Error_Handler/gather',
    
'DBG/sql');
$forms['Features']['Other_core_settings'] = array(
    
'AjaxEnable',
    
'VersionCheck',
    
'NaturalOrder',
    
'InitialSlidersState',
    
'ErrorIconic',
    
'ReplaceHelpImg',
    
'MaxDbList',
    
'MaxTableList',
    
'OBGzip',
    
'PersistentConnections',
    
'ExecTimeLimit',
    
'MemoryLimit',
    
'SkipLockedTables',
    
'UseDbSearch',
    
'AllowThirdPartyFraming');
$forms['Sql_queries']['Sql_queries'] = array(
    
'ShowSQL',
    
'Confirm',
    
'QueryHistoryDB',
    
'QueryHistoryMax',
    
'IgnoreMultiSubmitErrors',
    
'VerboseMultiSubmit',
    
'MaxCharactersInDisplayedSQL',
    
'EditInWindow',
    
//'QueryWindowWidth', // overridden in theme
    //'QueryWindowHeight',
    
'QueryWindowDefTab');
$forms['Sql_queries']['Sql_box'] = array('SQLQuery' => array(
    
'Edit',
    
'Explain',
    
'ShowAsPHP',
    
'Validate',
    
'Refresh'));
$forms['Sql_queries']['Sql_validator'] = array('SQLValidator' => array(
    
'use',
    
'username',
    
'password'));
$forms['Left_frame']['Left_frame'] = array(
    
'LeftFrameLight',
    
'LeftDisplayLogo',
    
'LeftLogoLink',
    
'LeftLogoLinkWindow',
    
'LeftPointerEnable');
$forms['Left_frame']['Left_servers'] = array(
    
'LeftDisplayServers',
    
'DisplayServersList');
$forms['Left_frame']['Left_databases'] = array(
    
'DisplayDatabasesList',
    
'LeftFrameDBTree',
    
'LeftFrameDBSeparator',
    
'ShowTooltipAliasDB');
$forms['Left_frame']['Left_tables'] = array(
    
'LeftDisplayTableFilterMinimum',
    
'LeftDefaultTabTable',
    
'LeftFrameTableSeparator',
    
'LeftFrameTableLevel',
    
'ShowTooltip',
    
'ShowTooltipAliasTB');
$forms['Main_frame']['Startup'] = array(
    
'MainPageIconic',
    
'ShowCreateDb' => ':group',
        
'SuggestDBName',
        
':group:end',
    
'ShowStats',
    
'ShowServerInfo',
    
'ShowPhpInfo',
    
'ShowChgPassword');
$forms['Main_frame']['Browse'] = array(
    
'NavigationBarIconic',
    
'ShowAll',
    
'MaxRows',
    
'Order',
    
'BrowsePointerEnable',
    
'BrowseMarkerEnable',
    
'RepeatCells',
    
'LimitChars',
    
'ModifyDeleteAtLeft',
    
'ModifyDeleteAtRight',
    
'DefaultDisplay');
$forms['Main_frame']['Edit'] = array(
    
'ProtectBinary',
    
'ShowFunctionFields',
    
'ShowFieldTypesInDataEditView',
    
'CharEditing',
    
'CharTextareaCols',
    
'CharTextareaRows',
    
'TextareaCols',
    
'TextareaRows',
    
'LongtextDoubleTextarea',
    
'InsertRows',
    
'ForeignKeyDropdownOrder',
    
'ForeignKeyMaxLimit',
    
'DefaultPropDisplay');
$forms['Main_frame']['Tabs'] = array(
    
'LightTabs',
    
'PropertiesIconic',
    
'DefaultTabServer',
    
'DefaultTabDatabase',
    
'DefaultTabTable',
    
'QueryWindowDefTab');
$forms['Import']['Import_defaults'] = array('Import' => array(
    
'format',
    
'charset',
    
'allow_interrupt',
    
'skip_queries'));
$forms['Import']['Sql'] = array('Import' => array(
    
'sql_compatibility',
    
'sql_no_auto_value_on_zero'));
$forms['Import']['Csv'] = array('Import' => array(
    
':group:' __('CSV'),
        
'csv_replace',
        
'csv_ignore',
        
'csv_terminated',
        
'csv_enclosed',
        
'csv_escaped',
        
'csv_col_names',
        
':group:end',
    
':group:' __('CSV using LOAD DATA'),
        
'ldi_replace',
        
'ldi_ignore',
        
'ldi_terminated',
        
'ldi_enclosed',
        
'ldi_escaped',
        
'ldi_local_option',
        
':group:end'));
$forms['Import']['Microsoft_Office'] = array('Import' => array(
    
':group:' __('Excel 97-2003 XLS Workbook'),
        
'xls_col_names',
        
':group:end',
    
':group:' __('Excel 2007 XLSX Workbook'),
        
'xlsx_col_names'));
$forms['Import']['Open_Document'] = array('Import' => array(
    
':group:' __('Open Document Spreadsheet'),
        
'ods_col_names',
        
'ods_empty_rows',
        
'ods_recognize_percentages',
        
'ods_recognize_currency'));
$forms['Export']['Export_defaults'] = array('Export' => array(
    
'method',
    
':group:' __('Quick'),
        
'quick_export_onserver',
        
'quick_export_onserver_overwrite',
        
':group:end',
    
':group:' __('Custom'),
        
'format',
        
'compression',
        
'charset',
        
'asfile' => ':group',
            
'onserver',
            
'onserver_overwrite',
            
':group:end',
        
'remember_file_template',
        
'file_template_table',
        
'file_template_database',
        
'file_template_server'));
$forms['Export']['Sql'] = array('Export' => array(
    
'sql_include_comments' => ':group',
        
'sql_dates',
        
'sql_relation',
        
'sql_mime',
        
':group:end',
    
'sql_use_transaction',
    
'sql_disable_fk',
    
'sql_compatibility',
    
':group:' __('Database export options'),
        
'sql_drop_database',
        
'sql_structure_or_data',
        
':group:end',
    
':group:' __('Structure'),
        
'sql_drop_table',
        
'sql_procedure_function',
        
'sql_create_table_statements' => ':group',
            
'sql_if_not_exists',
            
'sql_auto_increment',
            
':group:end',
        
'sql_backquotes',
        
':group:end',
    
':group:' __('Data'),
        
'sql_delayed',
        
'sql_ignore',
        
'sql_type',
        
'sql_insert_syntax',
        
'sql_max_query_size',
        
'sql_hex_for_blob',
        
'sql_utc_time'));
$forms['Export']['CodeGen'] = array('Export' => array(
    
'codegen_format'));
$forms['Export']['Csv'] = array('Export' => array(
    
':group:' __('CSV'),
        
'csv_separator',
        
'csv_enclosed',
        
'csv_escaped',
        
'csv_terminated',
        
'csv_null',
        
'csv_removeCRLF',
        
'csv_columns',
        
':group:end',
    
':group:' __('CSV for MS Excel'),
        
'excel_null',
        
'excel_removeCRLF',
        
'excel_columns',
        
'excel_edition'));
$forms['Export']['Latex'] = array('Export' => array(
    
'latex_caption',
    
'latex_structure_or_data',
    
':group:' __('Structure'),
        
'latex_structure_caption',
        
'latex_structure_continued_caption',
        
'latex_structure_label',
        
'latex_relation',
        
'latex_comments',
        
'latex_mime',
        
':group:end',
    
':group:' __('Data'),
        
'latex_columns',
        
'latex_data_caption',
        
'latex_data_continued_caption',
        
'latex_data_label',
        
'latex_null'));
$forms['Export']['Microsoft_Office'] = array('Export' => array(
    
':group:' __('Excel 97-2003 XLS Workbook'),
        
'xls_null',
        
'xls_columns',
        
':group:end',
    
':group:' __('Excel 2007 XLSX Workbook'),
        
'xlsx_null',
        
'xlsx_columns',
        
':group:end',
    
':group:' __('Microsoft Word 2000'),
        
'htmlword_structure_or_data',
        
'htmlword_null',
        
'htmlword_columns'));
$forms['Export']['Open_Document'] = array('Export' => array(
    
':group:' __('Open Document Spreadsheet'),
        
'ods_columns',
        
'ods_null',
        
':group:end',
    
':group:' __('Open Document Text'),
        
'odt_structure_or_data',
        
':group:' __('Structure'),
            
'odt_relation',
            
'odt_comments',
            
'odt_mime',
            
':group:end',
        
':group:' __('Data'),
            
'odt_columns',
            
'odt_null'));
$forms['Export']['Texy'] = array('Export' => array(
    
'texytext_structure_or_data',
    
':group:' __('Data'),
        
'texytext_null',
        
'texytext_columns'));
?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0068 ]--