๐ Secure/๐ ๋ณด์
[TOMCAT] ๋๋ ํฐ๋ฆฌ ์ฐพ๊ธฐ ์ฝ๋
- -
๋ฐ์ํ
// ๊ธฐ์กด ์ฝ๋
function userInfo(suburl) {
const url = location.origin + '/' + suburl;
return fetch(url).then( (res) => { return res; } );
}
async function sumOfFetch(array) {
const user = await userInfo(array);
if (user.status === 200) {
console.log(user)
}
}
const item = ['install','ROOT','add','balancer','dav','deploy','examples','examples/jsp/index.html','examples/jsp/snp/snoop.jsp','examples/jsp/source.jsp','examples/servlet/HelloWorldExample','examples/servlet/SnoopServlet','examples/servlet/TroubleShooter','examples/servlet/default/jsp/snp/snoop.jsp','examples/servlet/default/jsp/source.jsp','examples/servlet/org.apache.catalina.INVOKER.HelloWorldExample','examples/servlet/org.apache.catalina.INVOKER.SnoopServlet','examples/servlet/org.apache.catalina.INVOKER.TroubleShooter','examples/servlet/org.apache.catalina.servlets.DefaultServlet/jsp/snp/snoop.jsp','examples/servlet/org.apache.catalina.servlets.DefaultServlet/jsp/source.jsp','examples/servlet/org.apache.catalina.servlets.WebdavServlet/jsp/snp/snoop.jsp','examples/servlet/org.apache.catalina.servlets.WebdavServlet/jsp/source.jsp','examples/servlet/snoop','examples/servlets/servlet/SessionExample','examples/servlets/index.html','host-manager','host-manager/add','host-manager/host-manager.xml','host-manager/html/','host-manager/list','host-manager/remove','host-manager/start','host-manager/stop','html','install','j4p','jmxproxy','jsp-examples','list','manager','manager/deploy','manager/html','manager/html','manager/install','manager/jmxproxy','manager/jmxproxy','manager/list','manager/manager.xml','manager/reload','manager/remove','manager/resources','manager/roles','manager/save','manager/serverinfo','manager/sessions','manager/start','manager/status.xsd','manager/status','manager/stop','manager/undeploy','reload','remove','resources','roles','save','serverinfo','servlet/default/','servlet/org.apache.catalina.INVOKER.org.apache.catalina.servlets.DefaultServlet/tomcat.gif','servlet/org.apache.catalina.INVOKER.org.apache.catalina.servlets.SnoopAllServlet','servlet/org.apache.catalina.INVOKER.org.apache.catalina.servlets.WebdavServlet/','servlet/org.apache.catalina.servlets.DefaultServlet/','servlet/org.apache.catalina.servlets.DefaultServlet/tomcat.gif','servlet/org.apache.catalina.servlets.HTMLManagerServlet','servlet/org.apache.catalina.servlets.InvokerServlet/org.apache.catalina.servlets.DefaultServlet/tomcat.gif','servlet/org.apache.catalina.servlets.InvokerServlet/org.apache.catalina.servlets.SnoopAllServlet','servlet/org.apache.catalina.servlets.ManagerServlet','servlet/org.apache.catalina.servlets.SnoopAllServlet','servlet/org.apache.catalina.servlets.WebdavServlet/','servlets-examples','sessions','start','status','stop','tomcat-docs','undeploy','webdav','webdav/index.html','webdav/servlet/org.apache.catalina.servlets.WebdavServlet/','webdav/servlet/webdav/','admin','admin-console','docs/','examples/websocket/index.xhtml','host-manager/html','invoker/JMXInvokerServlet','jmx-console','jmx-console/HtmlAdaptor','server-manager/html','status','tomcat/manager/html','web-console','web-console/Invoker']
let i = 1;
let speed = 1500;
let timer = setInterval(function(){
if(i>item.length){
clearInterval(timer);
}else{
sumOfFetch(item[i-1]);
i++;
}
}, speed)
function userInfo(suburl) {
const url = location.origin + '/' + suburl;
return fetch(url).then( (res) => { return res; } );
}
async function sumOfFetch(array) {
const user = await userInfo(array);
if (user.status === 200) {
console.log(user)
}
}
const item = ['admin','admin-console','docs','examples','examples/jsp/index.html','examples/jsp/snp/snoop.jsp','examples/jsp/source.jsp','examples/servlet/SnoopServlet','examples/servlet/TroubleShooter','examples/servlet/default/jsp/snp/snoop.jsp','examples/servlet/default/jsp/source.jsp','examples/servlet/org.apache.catalina.INVOKER.HelloWorldExample','examples/servlet/org.apache.catalina.INVOKER.SnoopServlet','examples/servlet/org.apache.catalina.INVOKER.TroubleShooter','examples/servlet/org.apache.catalina.servlets.DefaultServlet/jsp/snp/snoop.jsp','examples/servlet/org.apache.catalina.servlets.DefaultServlet/jsp/source.jsp','examples/servlet/org.apache.catalina.servlets.WebdavServlet/jsp/snp/snoop.jsp','examples/servlet/org.apache.catalina.servlets.WebdavServlet/jsp/source.jsp','examples/servlet/snoop','examples/servlets/index.html','examples/websocket/index.xhtml','host-manager','host-manager/add','host-manager/host-manager.xml','host-manager/html','host-manager/html/*','host-manager/list','host-manager/remove','host-manager/start','host-manager/stop','invoker/JMXInvokerServlet','jmx-console','jmx-console/HtmlAdaptor','jsp-examples','manager','manager/deploy','manager/html','manager/html/*','manager/install','manager/jmxproxy','manager/jmxproxy/*','manager/list','manager/manager.xml','manager/reload','manager/remove','manager/resources','manager/roles','manager/save','manager/serverinfo','manager/sessions','manager/start','manager/status.xsd','manager/status/*','manager/stop','manager/undeploy','server-manager/html','servlet/default/','servlet/org.apache.catalina.INVOKER.org.apache.catalina.servlets.DefaultServlet/tomcat.gif','servlet/org.apache.catalina.INVOKER.org.apache.catalina.servlets.SnoopAllServlet','servlet/org.apache.catalina.INVOKER.org.apache.catalina.servlets.WebdavServlet/','servlet/org.apache.catalina.servlets.DefaultServlet/','servlet/org.apache.catalina.servlets.DefaultServlet/tomcat.gif','servlet/org.apache.catalina.servlets.HTMLManagerServlet','servlet/org.apache.catalina.servlets.InvokerServlet/org.apache.catalina.servlets.DefaultServlet/tomcat.gif','servlet/org.apache.catalina.servlets.InvokerServlet/org.apache.catalina.servlets.SnoopAllServlet','servlet/org.apache.catalina.servlets.ManagerServlet','servlet/org.apache.catalina.servlets.SnoopAllServlet','servlet/org.apache.catalina.servlets.WebdavServlet/','servlets-examples','status','tomcat-docs','tomcat/manager/html','web-console','web-console/Invoker','webdav','webdav/index.html','webdav/servlet/org.apache.catalina.servlets.WebdavServlet/','webdav/servlet/webdav/']
let i = 1;
let speed = 1500;
let timer = setInterval(function(){
if(i>item.length){
clearInterval(timer);
}else{
sumOfFetch(item[i-1]);
i++;
}
}, speed)
๋ฐ์ํ
'๐ Secure > ๐ ๋ณด์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
SSL LABS & Nmap (0) | 2023.02.09 |
---|---|
[Window 10 pro] OpenSSL ์ค์น ๋ฐ ํ๊ฒฝ ๋ณ์ ์ค์ (0) | 2023.02.09 |
[HTTP 30x ERROR] (0) | 2022.09.26 |
[Windows] AWS S3 ๋ฐ ๋ฐ์ดํฐ ๋ณ๊ฒฝ (0) | 2022.09.16 |
[Windows] AWS CLI ์ค์น (1) | 2022.09.16 |
Contents
์์คํ ๊ณต๊ฐ ๊ฐ์ฌํฉ๋๋ค