OXIESEC PANEL
- Current Dir:
/
/
home
/
cubot
/
docroot
/
assets
/
plugins
/
sky-forms-pro
/
skyforms
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/14/2022 11:10:44 AM
rwxr-xr-x
📁
captcha
-
08/14/2022 11:10:44 AM
rwxr-xr-x
📁
css
-
08/14/2022 11:10:44 AM
rwxr-xr-x
📁
custom
-
08/14/2022 11:10:44 AM
rwxr-xr-x
📄
demo-comment-process.php
65 bytes
08/14/2022 11:10:45 AM
rw-r--r--
📄
demo-comment.php
4.93 KB
08/14/2022 11:10:45 AM
rw-r--r--
📄
demo-contacts-process.php
655 bytes
08/14/2022 11:10:44 AM
rw-r--r--
📄
demo-contacts.php
4.73 KB
08/14/2022 11:10:44 AM
rw-r--r--
📄
demo-login-process.php
65 bytes
08/14/2022 11:10:44 AM
rw-r--r--
📄
demo-order-process.php
1.85 KB
08/14/2022 11:10:44 AM
rw-r--r--
📄
demo-review-process.php
638 bytes
08/14/2022 11:10:44 AM
rw-r--r--
📄
ext-captcha.php
2.61 KB
08/14/2022 11:10:44 AM
rw-r--r--
📁
icons
-
08/14/2022 11:10:44 AM
rwxr-xr-x
📁
js
-
08/14/2022 11:10:45 AM
rwxr-xr-x
Editing: ext-captcha.php
Close
<?php // Make the page validate ini_set('session.use_trans_sid', '0'); // Create a random string, leaving out 'o' to avoid confusion with '0' $char = strtoupper(substr(str_shuffle('abcdefghjkmnpqrstuvwxyz'), 0, 4)); // Concatenate the random string onto the random numbers // The font 'Anorexia' doesn't have a character for '8', so the numbers will only go up to 7 // '0' is left out to avoid confusion with 'O' $str = rand(1, 7) . rand(1, 7) . $char; // Begin the session session_start(); // Set the session contents $_SESSION['captcha_id'] = $str; ?> <!DOCTYPE html> <html> <head> <title>Sky Forms Pro</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <link rel="stylesheet" href="css/demo.css"> <link rel="stylesheet" href="css/font-awesome.css"> <link rel="stylesheet" href="css/sky-forms.css"> <!--[if lt IE 9]> <link rel="stylesheet" href="css/sky-forms-ie8.css"> <![endif]--> <script src="js/jquery.min.js"></script> <script src="js/jquery.form.min.js"></script> <script src="js/jquery.validate.min.js"></script> <!--[if lt IE 10]> <script src="js/jquery.placeholder.min.js"></script> <![endif]--> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <script src="js/sky-forms-ie8.js"></script> <![endif]--> </head> <body class="bg-cyan"> <div class="body"> <form action="#" method="post" id="sky-form" class="sky-form"> <header>Captcha</header> <fieldset> <section> <label class="label">Enter characters below:</label> <label class="input input-captcha"> <img src="captcha/image.php?<?php echo time(); ?>" width="100" height="35" alt="Captcha image" /> <input type="text" maxlength="6" name="captcha" id="captcha"> </label> </section> </fieldset> <footer> <button type="submit" class="button">Send message</button> </footer> </form> </div> <script type="text/javascript"> $(function() { // Validation $("#sky-form").validate( { // Rules for form validation rules: { captcha: { required: true, remote: 'captcha/process.php' } }, // Messages for form validation messages: { captcha: { required: 'Please enter characters', remote: 'Correct captcha is required' } }, // Do not change code below errorPlacement: function(error, element) { error.insertAfter(element.parent()); } }); }); </script> </body> </html>