Thứ Năm, 11 tháng 7, 2013

Simple PHP Script Anti Flood DDoS

http://yorktown.cbe.wwu.edu/sandvig/mis314/lectures/images/PhpScript.png

<?php
//
// Description : Script anti flood
// Version : 0.0.1
// Auteur : Atmoner
// Url : http://httpscript.org
//
if (!isset($_SESSION)) {
session_start();
}
// anti flood protection
if($_SESSION['last_session_request'] > time() - 2){
// users will be redirected to this page if it makes requests faster than 2 seconds
header("location: http://junookyo.blogspot.com/");
exit;
}
$_SESSION['last_session_request'] = time();
?>

Thứ Ba, 9 tháng 7, 2013

How to protect your Facebook privacy, as new search system is rolled out

It’s time to review how well you well you have been protecting your privacy on Facebook.
Why? Because Facebook is beginning to roll out the new version of its search engine.

First announced by Mark Zuckerberg in January, Graph Search makes it easier for people to find content that has been shared on the social network through the use of natural language and filters.

The upshot is that if you have ever shared something on Facebook, it’s easily searchable by anyone you have given permission to view it. (Or – in some cases – anyone you have forgotten to remove permission from viewing it).

READ MORE »

Chủ Nhật, 7 tháng 7, 2013

Share code get link nhạc từ SoundCloud

Hình demo:

Link demo: http://code.poly-edu.in/

Rất đơn giản, chỉ việc nhập link soundcloud mà bạn cần download và nhấn Bắt đầu tải.

Code hỗ trợ ajax và sử dụng player để phát trực tuyến.
READ MORE »

Thứ Bảy, 6 tháng 7, 2013

How to hide your shell using .htaccess

http://thaidt.net/wp-content/uploads/2012/03/htaccesssw.jpg

Today I want to show you a less known trick in which you can use .htaccess file. Already available on server as a shell to execute OS commands, so just follow the simple steps described below. This file is also useful to add restrictions on files.

Open your PHP web shell, navigate to public_html directory and search for .htaccess file, once found, click on edit option.

READ MORE »

Thứ Hai, 1 tháng 7, 2013

[Tutorial] DOM Base XSS Attack

Chào các bạn!

Lâu rồi không quay Tutorial nào nên hôm nay rảnh rỗi mình quay 1 tutorial về DOM Base XSS. Trước khi xem Tutorial này, hãy tìm hiểu khái niệm về DOM. Theo Wiki:
DOM là chữ viết tắt từ tiếng Anh Document Object Model ("Mô hình Đối tượng Tài liệu"), là một giao diện lập trình ứng dụng (API). Thường thường DOM, có dạng một cây cấu trúc dữ liệu, được dùng để truy xuất các tài liệu dạng HTML và XML. Mô hình DOM độc lập với hệ điều hành và dựa theo kỹ thuật lập trình hướng đối tượng để mô tả tài liệu. 
Ban đầu, chưa có chuẩn thống nhất nên các thành phần trong một tài liệu HTML mô tả bằng các phiên bản khác nhau của DOM được hiển thị bởi các chương trình duyệt web thông qua JavaScript. Điều này buộc World Wide Web Consortium (W3C) phải đưa ra một loạt các mô tả kĩ thuật về tiêu chuẩn cho DOM để thống nhất mô hình này. 
Mặc dù một tài liệu hay văn bản có cấu trúc chặt chẽ (well-structured document) luôn luôn có thể được mô hình hóa bằng một cấu trúc dạng cây, DOM không có giới hạn về cấu trúc dữ liệu của một tài liệu.
Xem thêm tại: http://vi.wikipedia.org/wiki/DOM

READ MORE »