WAP手机版 RSS订阅 加入收藏  设为首页
黑客技术
当前位置:首页 > 黑客技术

当LFI遇到Directadmin,可以包含的log路径

时间:2019/7/8 17:11:28   作者:安琪   来源:www.hack361.com   阅读:0   评论:0
内容摘要:近期遇到一个可以本地包含LFI的redhat,用的Directadmin虚拟主机管理系统,正愁找不着默认log的路径的时候,google到官方的一个帮助文件:http://help.directadmin.com/item.php?id=11(默认几乎都是无权限包含的,可以都试试)LogFilepaths(LastMo...
近期遇到一个可以本地包含LFI的redhat,用的Directadmin虚拟主机管理系统,正愁找不着默认log的路径的时候,google到官方的一个帮助文件:
 http://help.directadmin.com/item.php?id=11(默认几乎都是无权限包含的,可以都试试)
 
Log File paths(Last Modified: Mar 22, 2012, 4:28 pm)

 The first place you should go when trying to debug a problem is the log file for that program.   The list of Log Files are as follows:
 
DirectAdmin:
 

/var/log/directadmin/error.log
 /var/log/directadmin/errortaskq.log
 /var/log/directadmin/system.log
 /var/log/directadmin/security.log



 Apache:
 

/var/log/httpd/error_log
 /var/log/httpd/access_log
 /var/log/httpd/suexec_log
 /var/log/httpd/fpexec_log
 /var/log/httpd/domains/domain.com.error.log
 /var/log/httpd/domains/domain.com.log
 /var/log/messages (generic errors)



 Proftpd:
 

/var/log/proftpd/access.log
 /var/log/proftpd/auth.log
 /var/log/messages (generic errors)



 Dovecot and vm-pop3d:
 

/var/log/maillog
 /var/log/messages



 named (bind):
 

/var/log/messages



 exim:
 

/var/log/exim/mainlog
 /var/log/exim/paniclog
 /var/log/exim/processlog
 /var/log/exim/rejectlog


 (on FreeBSD, they have "exim_" in front of the filenames)
 
mysqld:
 RedHat:
 

/var/lib/mysql/server.hostname.com.err


 FreeBSD and Debian:
 

/usr/local/mysql/data/server.hostname.com.err



 crond:
 

/var/log/cron



 To view a log file, run: 


less /var/log/filename


 Where /var/log/filename is the path of the log you wish to view.  If the log is too large you can use the "tail" command:
 

tail -n 30 /var/log/filename


 Where 30 is the number of lines from the end you wish to view.  黑客361(www.hack361.com)
 

标签:Directadmin 
相关评论

本类更新

本类推荐

本类排行

本站资源来自互联网收集 仅供用于学习和交流 请遵循相关法律法规 本站一切资源不代表本站立场

Copyright 2018 黑客361 www.hack361.com All Rights Reserved 

站长QQ1437232096

技术交流群99802923