!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/reportEregis111/examples/   drwxr-xr-x
Free 52.42 GB of 127.8 GB (41.01%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     form-elements.php (9.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

PFBC has support for 32 form elements: Button, Captcha, Checkbox, Checksort, CKEditor, Color, Country, Date, DateTimeLocal, DateTime, Email, File, Hidden, HTML, jQueryUIDate, Month, Number, Password, Phone, Radio, Range, Search, Select, Sort, State, Textarea, Textbox, Time, TinyMCE, Url, Week, YesNo.

Important In each of the example forms provided, you'll notice that the form's prevent property is set to an array containing "bootstrap" and "jQuery". This prevents the css/js include files from being loaded a second time by PFBC as they're already being included in a header file. If your system already includes jQuery or bootstrap, it's recommended that you edit the prevent property in PFBC/Form.php so you don't have to set it (the prevent property) each time you create a form.

configure(array( "prevent" => array("bootstrap", "jQuery") )); $form->addElement(new Element\Hidden("form", "form-elements")); $form->addElement(new Element\HTML('Standard')); $form->addElement(new Element\Textbox("Textbox:", "Textbox")); $form->addElement(new Element\Password("Password:", "Password")); $form->addElement(new Element\File("File:", "File")); $form->addElement(new Element\Textarea("Textarea:", "Textarea")); $form->addElement(new Element\Select("Select:", "Select", $options)); $form->addElement(new Element\Radio("Radio Buttons:", "RadioButtons", $options)); $form->addElement(new Element\Checkbox("Checkboxes:", "Checkboxes", $options)); $form->addElement(new Element\HTML('HTML5')); $form->addElement(new Element\Phone("Phone:", "Phone")); $form->addElement(new Element\Search("Search:", "Search")); $form->addElement(new Element\Url("Url:", "Url")); $form->addElement(new Element\Email("Email:", "Email")); $form->addElement(new Element\Date("Date:", "Date")); $form->addElement(new Element\DateTime("DateTime:", "DateTime")); $form->addElement(new Element\DateTimeLocal("DateTime-Local:", "DateTimeLocal")); $form->addElement(new Element\Month("Month:", "Month")); $form->addElement(new Element\Week("Week:", "Week")); $form->addElement(new Element\Time("Time:", "Time")); $form->addElement(new Element\Number("Number:", "Number")); $form->addElement(new Element\Range("Range:", "Range")); $form->addElement(new Element\Color("Color:", "Color")); $form->addElement(new Element\HTML('jQuery UI')); $form->addElement(new Element\jQueryUIDate("Date:", "jQueryUIDate")); $form->addElement(new Element\Checksort("Checksort:", "Checksort", $options)); $form->addElement(new Element\Sort("Sort:", "Sort", $options)); $form->addElement(new Element\HTML('WYSIWYG Editor')); $form->addElement(new Element\TinyMCE("TinyMCE:", "TinyMCE")); $form->addElement(new Element\CKEditor("CKEditor:", "CKEditor")); $form->addElement(new Element\HTML('Custom/Other')); $form->addElement(new Element\State("State:", "State")); $form->addElement(new Element\Country("Country:", "Country")); $form->addElement(new Element\YesNo("Yes/No:", "YesNo")); $form->addElement(new Element\Captcha("Captcha:")); $form->addElement(new Element\Button); $form->addElement(new Element\Button("Cancel", "button", array( "onclick" => "history.go(-1);" ))); $form->render(); ?>
configure(array( "prevent" => array("bootstrap", "jQuery") )); $form->addElement(new Element\Hidden("form", "form-elements")); $form->addElement(new Element\HTML(\'Standard\')); $form->addElement(new Element\Textbox("Textbox:", "Textbox")); $form->addElement(new Element\Password("Password:", "Password")); $form->addElement(new Element\File("File:", "File")); $form->addElement(new Element\Textarea("Textarea:", "Textarea")); $form->addElement(new Element\Select("Select:", "Select", $options)); $form->addElement(new Element\Radio("Radio Buttons:", "RadioButtons", $options)); $form->addElement(new Element\Checkbox("Checkboxes:", "Checkboxes", $options)); $form->addElement(new Element\HTML(\'HTML5\')); $form->addElement(new Element\Phone("Phone:", "Phone")); $form->addElement(new Element\Search("Search:", "Search")); $form->addElement(new Element\Url("Url:", "Url")); $form->addElement(new Element\Email("Email:", "Email")); $form->addElement(new Element\Date("Date:", "Date")); $form->addElement(new Element\DateTime("DateTime:", "DateTime")); $form->addElement(new Element\DateTimeLocal("DateTime-Local:", "DateTimeLocal")); $form->addElement(new Element\Month("Month:", "Month")); $form->addElement(new Element\Week("Week:", "Week")); $form->addElement(new Element\Time("Time:", "Time")); $form->addElement(new Element\Number("Number:", "Number")); $form->addElement(new Element\Range("Range:", "Range")); $form->addElement(new Element\Color("Color:", "Color")); $form->addElement(new Element\HTML(\'jQuery UI\')); $form->addElement(new Element\jQueryUIDate("Date:", "jQueryUIDate")); $form->addElement(new Element\Checksort("Checksort:", "Checksort", $options)); $form->addElement(new Element\Sort("Sort:", "Sort", $options)); $form->addElement(new Element\HTML(\'WYSIWYG Editor\')); $form->addElement(new Element\TinyMCE("TinyMCE:", "TinyMCE")); $form->addElement(new Element\CKEditor("CKEditor:", "CKEditor")); $form->addElement(new Element\HTML(\'Custom/Other\')); $form->addElement(new Element\State("State:", "State")); $form->addElement(new Element\Country("Country:", "Country")); $form->addElement(new Element\YesNo("Yes/No:", "YesNo")); $form->addElement(new Element\Captcha("Captcha:")); $form->addElement(new Element\Button); $form->addElement(new Element\Button("Cancel", "button", array( "onclick" => "history.go(-1);" ))); $form->render();'); ?>
configure(array( "prevent" => array("bootstrap", "jQuery") )); $form->addElement(new Element_Hidden("form", "form-elements")); $form->addElement(new Element_HTML(\'Standard\')); $form->addElement(new Element_Textbox("Textbox:", "Textbox")); $form->addElement(new Element_Password("Password:", "Password")); $form->addElement(new Element_File("File:", "File")); $form->addElement(new Element_Textarea("Textarea:", "Textarea")); $form->addElement(new Element_Select("Select:", "Select", $options)); $form->addElement(new Element_Radio("Radio Buttons:", "RadioButtons", $options)); $form->addElement(new Element_Checkbox("Checkboxes:", "Checkboxes", $options)); $form->addElement(new Element_HTML(\'HTML5\')); $form->addElement(new Element_Phone("Phone:", "Phone")); $form->addElement(new Element_Search("Search:", "Search")); $form->addElement(new Element_Url("Url:", "Url")); $form->addElement(new Element_Email("Email:", "Email")); $form->addElement(new Element_Date("Date:", "Date")); $form->addElement(new Element_DateTime("DateTime:", "DateTime")); $form->addElement(new Element_DateTimeLocal("DateTime-Local:", "DateTimeLocal")); $form->addElement(new Element_Month("Month:", "Month")); $form->addElement(new Element_Week("Week:", "Week")); $form->addElement(new Element_Time("Time:", "Time")); $form->addElement(new Element_Number("Number:", "Number")); $form->addElement(new Element_Range("Range:", "Range")); $form->addElement(new Element_Color("Color:", "Color")); $form->addElement(new Element_HTML(\'jQuery UI\')); $form->addElement(new Element_jQueryUIDate("Date:", "jQueryUIDate")); $form->addElement(new Element_Checksort("Checksort:", "Checksort", $options)); $form->addElement(new Element_Sort("Sort:", "Sort", $options)); $form->addElement(new Element_HTML(\'WYSIWYG Editor\')); $form->addElement(new Element_TinyMCE("TinyMCE:", "TinyMCE")); $form->addElement(new Element_CKEditor("CKEditor:", "CKEditor")); $form->addElement(new Element_HTML(\'Custom/Other\')); $form->addElement(new Element_State("State:", "State")); $form->addElement(new Element_Country("Country:", "Country")); $form->addElement(new Element_YesNo("Yes/No:", "YesNo")); $form->addElement(new Element_Captcha("Captcha:")); $form->addElement(new Element_Button); $form->addElement(new Element_Button("Cancel", "button", array( "onclick" => "history.go(-1);" ))); $form->render();'); ?>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: 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.0058 ]--