hanc00l / wooyun_public

This repo is archived. Thanks for wooyun! 乌云公开漏洞、知识库爬虫和搜索 crawl and search for wooyun.org public bug(vulnerability) and drops
http://www.wooyun.org
4.38k stars 1.94k forks source link

求助,用虚拟机搭建好后映射到外网开放查询,图片无法加载 #39

Open Huhu-Adora opened 7 years ago

Huhu-Adora commented 7 years ago

求助,用虚拟机搭建好后映射到外网开放查询,图片地址为虚拟机本地地址,无法正常加载。

hanc00l commented 7 years ago
2017-08-15 00 11 10

修改wooyun_final/bug_detail.php文件中,将<?php echo str_replace('static.loner.fm',$_SERVER['SERVER_ADDR'],$bug_detail['wybug_detail']);?>的$_SERVER['SERVER_ADDR']修改为你外网的IP地址就行了。