This commit is contained in:
2022-04-25 13:40:12 +08:00
commit 41f187e460
349 changed files with 60741 additions and 0 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+77
View File
@@ -0,0 +1,77 @@
* {
margin: 0;
padding: 0;
outline: none;
}
body {
color: #ffffff;
font-size: 14px;
font-family: tahoma, "Microsoft YaHei", 'PingFang SC', 'Helvetica Neue', 'Helvetica', 'STHeitiSC-Light', 'Arial', sans-serif;
}
canvas {
display: block;
margin: 0;
width:100%;
height:100%;
position: fixed;
left: 0;
right: 0;
top:0;
bottom:0;
z-index: -1;
}
.box_S {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.content {
padding-top:10%;
width: 100%;
margin: 0;
}
.input_wrap_box {
background: #0f1034;
text-align: center;
display: block;
margin: 0 auto;
border-radius: 25px;
-webkit-border-radius: 25px;
-moz-border-radius: 25px;
width: 770px;
height: 50px;
line-height: 50px;
margin-top: 20px;
position: relative;
}
.input_wrap_box #sercHead {
background: #0f1034;
width: 100%;
display: block;
text-align: center;
line-height: 48px;
border: 1px solid #1d2556;
border-radius: 25px;
-webkit-border-radius: 25px;
-moz-border-radius: 25px;
color: #ffffff;
}
.options {
width: 100%;
text-align: center;
margin-top:20px;
}
.footer {
width: 100%;
margin-top: 50px;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

+58
View File
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>在线Google Hacking小工具</title>
<link rel="shortcut icon" href="https://s1.ax1x.com/2020/05/17/YR20js.jpg" />
<script type="text/javascript" src="comonjs/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="comonjs/modernizr-2.6.2.min.js"></script>
<script type="text/javascript" src="js/starbg.js"></script>
<script type="text/javascript" src="js/googlehack.js"></script>
<link type="text/css" rel="stylesheet" href="css/styles.css" />
</head>
<body>
<canvas id="fullstarbg">您的浏览器不支持canvas标签</canvas>
<div class="content">
<center><img src="google.png" alt="google"></center>
<div class="input_wrap_box box_S">
<input id="sercHead" name="sercHead" type="text" class="box_S" value="" placeholder="example.com" onclick="">
</div>
</div>
<div class="options">
<ul>
<li><a href="#" onclick="do_google_search(1)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">目录遍历漏洞</a></li>
<li><a href="#" onclick="do_google_search(2)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">配置文件泄露</a></li>
<li><a href="#" onclick="do_google_search(3)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">数据库文件泄露</a></li>
<li><a href="#" onclick="do_google_search(4)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">日志文件泄露</a></li>
<li><a href="#" onclick="do_google_search(5)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">备份和历史文件</a></li>
<li><a href="#" onclick="do_google_search(6)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">登录页面</a></li>
<li><a href="#" onclick="do_google_search(7)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">SQL错误</a></li>
<li><a href="#" onclick="do_google_search(8)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">公开文件信息</a></li>
<li><a href="#" onclick="do_google_search(9)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">phpinfo()</a></li>
<li><a href="#" onclick="do_google_search(10)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">搜索Pastebin.com和其他粘贴站点</a></li>
<li><a href="#" onclick="do_google_search(11)" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">搜索Github.com和Gitlab.com</a></li>
<li><a href="/" style="font-family:verdana;font-size:20px;color:#4285f4;text-decoration:none">返回博客</a></li>
</ul>
</div>
<div class="footer">
<center> Copyright © 2019 CODING BY <a href="http://www.luckyzmj.cn" style="font-family:verdana;color:#4285f4;text-decoration:none"> luckyzmj </a> GIT HUB: <a href="https://github.com/r00tSe7en/GoogleHackingTool" style="font-family:verdana;color:#4285f4;text-decoration:none"> 在线google Hacking小工具 </a></center>
</div>
</body>
</html>
+43
View File
@@ -0,0 +1,43 @@
function do_google_search(type) {
site = document.getElementById('sercHead').value;
url1 = 'https://www.google.com/search?q=';
url2 = url1 + 'site:' + site;
switch (type) {
case 1:
url = url2 + '+intitle:index.of';
break;
case 2:
url = url2 + '+ext:xml+|+ext:conf+|+ext:cnf+|+ext:reg+|+ext:inf+|+ext:rdp+|+ext:cfg+|+ext:txt+|+ext:ora+|+ext:ini';
break;
case 3:
url = url2 + '+ext:sql+|+ext:dbf+|+ext:mdb';
break;
case 4:
url = url2 + '+ext:log';
break;
case 5:
url = url2 + '+ext:bkf+|+ext:bkp+|+ext:bak+|+ext:old+|+ext:backup';
break;
case 6:
url = url2 + '+inurl:login';
break;
case 7:
url = url2 + '+intext:"sql+syntax+near"+|+intext:"syntax+error+has+occurred"+|+intext:"incorrect+syntax+near"+|+intext:"unexpected+end+of+SQL+command"+|+intext:"Warning:+mysql_connect()"+|+intext:"Warning:+mysql_query()"+|+intext:"Warning:+pg_connect()"';
break;
case 8:
url = url2 + '+ext:doc+|+ext:docx+|+ext:odt+|+ext:pdf+|+ext:rtf+|+ext:sxw+|+ext:psw+|+ext:ppt+|+ext:pptx+|+ext:pps+|+ext:csv';
break;
case 9:
url = url2 + '+ext:php+intitle:phpinfo+"published+by+the+PHP+Group"';
break;
case 10:
url = url1 + 'site:pastebin.com+|+site:paste2.org+|+site:pastehtml.com+|+site:slexy.org+|+site:snipplr.com+|+site:snipt.net+|+site:textsnip.com+|+site:bitpaste.app+|+site:justpaste.it+|+site:heypasteit.com+|+site:hastebin.com+|+site:dpaste.org+|+site:dpaste.com+|+site:codepad.org+|+site:jsitor.com+|+site:codepen.io+|+site:jsfiddle.net+|+site:dotnetfiddle.net+|+site:phpfiddle.org+|+site:ide.geeksforgeeks.org+|+site:repl.it+|+site:ideone.com+|+site:paste.debian.net+|+site:paste.org+|+site:paste.org.ru+|+site:codebeautify.org+|+site:codeshare.io+|+site:trello.com'+'+"'+site+'"';
break;
case 11:
url = url1 + 'site:github.com+|+site:gitlab.com'+'+"'+site+'"';
break;
}
window.open(url, '', 'scrollbars=yes,menubar=no,height=600,width=800,resizable=yes,toolbar=yes,menubar=no,location=no,status=no');
}
+175
View File
@@ -0,0 +1,175 @@
/**
* Created by Zcy on 2016/11/1 0001.
*/
window.addEventListener('load',windowload,false)
function windowload(){
canvasApp();
}
function canvasSupport(){
return Modernizr.canvas;
}
function canvasApp(){
if(!canvasSupport()){
return;
}
var canvasElement=document.getElementById('fullstarbg');
var cxt=canvasElement.getContext("2d");
var windowW=window.innerWidth;
var windowh=window.innerHeight;
canvasElement.width=windowW;
canvasElement.height=windowh;
//画星星
var nums=200;
var starArr=[];
for(var i=0;i<nums;i++){
var arrs=["t","f"];
var r= Math.random()*1; //生成星星的半径
var ax=Math.random()*canvasElement.width;
var ay=Math.random()*canvasElement.height;
var opactityS=Math.random()*1;
opactityS=opactityS>0.7?0.7:opactityS;
var trues=arrs[Math.floor(Math.random()*2)];
starArr.push({
x:ax,
y:ay,
R:r,
initX:ax,
initY:ay,
moves:trues,
initOpacity:opactityS,
opacity:opactityS
});
}
//流线
var newLine=true;
var linesArr=[];
var conter=0;
function createLine(){
if(newLine==true){
var lineNum=Math.ceil(Math.random()*2);
//#59576a;
linesArr=[]
for(var i=0;i<lineNum;i++){
var lx=Math.random()*canvasElement.width;
var ly=Math.random()*canvasElement.height-Math.random()*500;
linesArr.push({
initX:lx,
initY:0,
length:Math.random()*50+30,
speed:Math.random()*10
})
}
newLine=false;
}
}
//3秒之后让红色的圆形运动
var redstart=false;
setTimeout(function(){
redstart=true;
},3000)
var yred=-0.25*canvasElement.width*0.22;
var redYlimt=-0.35*canvasElement.width*0.22;;
function draw(){
cxt.clearRect(0,0,canvasElement.width,canvasElement.height);
var colors=cxt.createLinearGradient(0,0,0,canvasElement.height);
colors.addColorStop(0,"#090723");
colors.addColorStop(0.75,"#090723");
colors.addColorStop(1,"#08071e")
cxt.fillStyle=colors; //08071e
cxt.fillRect(0,0,canvasElement.width,canvasElement.height)
//画圆 color r x y
drawCircle("#f7f4d3",canvasElement.width*0.12,0.44*canvasElement.width,redYlimt,"#fcf6ac"); //红
drawCircle("#201620",canvasElement.width*0.025,0.95*canvasElement.width,0.32*canvasElement.height); //灰
drawCircle("#140c2a",canvasElement.width*0.01,0.75*canvasElement.width,0.22*canvasElement.height); //紫
drawCircle("#090929",canvasElement.width*0.018,0.82*canvasElement.width,0.52*canvasElement.height); //蓝
if(redstart==true){
redYlimt+=1;
}
if(redYlimt>yred){
redYlimt=yred;
}
//STAR
for(var i=0;i<starArr.length;i++){
var child=starArr[i];
cxt.save();
cxt.globalAlpha=child.opacity;
cxt.beginPath();
cxt.fillStyle="#ffffff";
cxt.arc(child.initX,child.initY,child.R,0,Math.PI*2,false);
cxt.fill();
cxt.closePath();
//移动
if(child.moves=='t'){
child.initX-=Math.random()*1*0.12; //星星移动的速度
if(child.initX<0){
child.initX=child.x;
}
}
//透明度
if(child.opacity<0.8){
child.opacity+=0.005;
if(child.opacity>0.7){
child.opacity=child.initOpacity;
}
}
cxt.restore();
}
//lines
createLine();
for(var i=0;i<linesArr.length;i++){
var child=linesArr[i];
cxt.save();
cxt.rotate(0);
cxt.beginPath();
cxt.strokeStyle="#59576a";
cxt.moveTo(child.initX,child.initY);
cxt.lineTo(child.initX-Math.cos(Math.PI/180*45)*child.length,child.initY+Math.sin(Math.PI/180*45)*child.length);
cxt.stroke();
cxt.restore();
child.speed+=0.1;
var preX=Math.cos(Math.PI/180*45)*child.speed;
var preY=Math.sin(Math.PI/180*45)*child.speed;
child.initX=child.initX-preX;
child.initY=child.initY+preY;
if(child.initX<0||child.initY>canvasElement.height){
conter=i+1;
}
if(conter==linesArr.length){
conter=0;
newLine=true;
}
}
}
draw();
setInterval(draw,20);
function drawCircle(color,R,x,y,color2){
cxt.beginPath();
if(color2){
var gradient2=cxt.createRadialGradient(x,y,R/2,x,y,R);
gradient2.addColorStop(0,color);
gradient2.addColorStop(0.5,color);
gradient2.addColorStop(1,color2);
cxt.fillStyle=gradient2;
}else{
cxt.fillStyle=color;
}
var r=R;
cxt.arc(x,y,R,0,Math.PI*2,false);
cxt.fill();
cxt.closePath();
}
//代码思路:
//星星 随机产生一定数量的星星对象{初始位置:x,y;星星半径}
//星星闪烁与运动的原理 每隔一定秒数重新绘制 并且移动位置 与 改变透明度 闪烁与移动可以随机或者一定的规律
//
//流线 同流星原理类似 斜线根据角度与第一点 求第二点
}