Skip to content

Commit

Permalink
2019-12-29
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxxbxxxxx committed Dec 29, 2019
1 parent ce903c5 commit 767a22f
Show file tree
Hide file tree
Showing 99 changed files with 9,932 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
Binary file added 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 47 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,48 @@
# fofa_view
Fofa pro 浏览器插件

Fofa pro view 是一款FOFA Pro 资产展示浏览器插件,目前兼容 Chrome、Firefox。

The Fofa Pro View plugin tells you where the website is hosted (country, city), who owns the IP and what other services/ ports are open.

The Fofa Pro View plugin for Chrome automatically checks whether Fofa Pro has any information for the current website. Is the website also running FTP, DNS, SSH or some unusual service? With this plugin you can see all the info that Fofa Pro has collected on a given website/ domain.

## 安装

![](1.png)

### Chrome

暂且不支持,插件正在申请提交中。

#### 手动安装

下载版本:https://github.com/0nise/fofa_view/releases

![](3.png)

![](4.png)

解压插件压缩包,打开 <chrome://extensions/> 并且开启开发者模式,点击 `加载已解压的扩展程序` 选择已经解压的插件目录进行加载。

#### 商城安装

### FireFox

#### 手动安装

下载版本:https://github.com/0nise/fofa_view/releases

![](6.png)

解压插件压缩包,打开 <about:debugging#/runtime/this-firefox> 点击`临时载入附加组件…`选择下载的插件压缩包。

#### 商城安装

暂且不支持,插件正在申请提交中。

## 更新日志

2019-12-29

- 添加IP位置信息
- 添加资产信息
Binary file added build/.DS_Store
Binary file not shown.
14 changes: 14 additions & 0 deletions build/chrome/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"appName": {
"message": "Ext Starter",
"description": "The name of the extension."
},
"appDescription": {
"message": "Boilerplate for building cross browser extensions",
"description": "The description of the extension."
},
"btnTooltip": {
"message": "Ext Starter",
"description": "Tooltip for the button."
}
}
Binary file added build/chrome/icons/icon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/chrome/icons/icon-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/chrome/icons/icon-19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/chrome/icons/icon-38.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/chrome/icons/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions build/chrome/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "FOFA Pro View",
"version": "0.0.1",
"manifest_version": 2,
"description": "FOFA Pro view ",
"icons": {
"16": "icons/icon-16.png",
"128": "icons/icon-128.png"
},
"default_locale": "en",
"background": {
"scripts": [
"scripts/background.js"
]
},
"permissions": [
"tabs",
"storage",
"http://*/*",
"https://*/*"
],
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"scripts/contentscript.js"
],
"run_at": "document_end",
"all_frames": false
}
],
"browser_action": {
"default_icon": {
"19": "icons/icon-19.png",
"38": "icons/icon-38.png"
},
"default_title": "FOFA Pro view",
"default_popup": "popup.html"
}
}


52 changes: 52 additions & 0 deletions build/chrome/options.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="styles/options.css" rel="stylesheet">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Options & Settings</title>
</head>
<body class="wrap">
<div class="grid">
<div class="unit whole center-on-mobiles">
<div class="heading">
<h1>Extension Boilerplate</h1>
<p class="lead">A foundation for creating cross-browser extensions</p>
</div>
</div>
</div>

<section class="content">
<div class="grid">
<div class="unit whole center-on-mobiles">
<div class="option">
<h5>Popup color</h5>
<div class="radio-group">
<label><input class="js-radio white" type="radio" name="radio" value="white">White</label>
<label><input class="js-radio beige" type="radio" name="radio" value="beige">Beige</label>
<label><input class="js-radio lavender" type="radio" name="radio" value="lavender">Lavender</label>
</div>
</div>

<div class="option">
<em class="text-muted">...display your extensions' options here...</em>
</div>

</div>
</div>
</section>


<footer class="main-footer">
<div class="grid">
<div class="unit whole center-on-mobiles">
<p class="text-center text-muted">
&copy; Extension Boilerplate
</p>
</div>
</div>

</footer>
<script src="scripts/options.js"></script>
</body>
</html>
50 changes: 50 additions & 0 deletions build/chrome/popup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link href="styles/popup.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui/css/layui.css" />

<style>
p{
font-size: 0.8em;
}
</style>
</head>
<body>
<div id="app" class="popup-content">
<h1 class="app-name" id="ip"></h1>
<div class="layui-card" id="ipInfo">
<div class="layui-card-header"><a href="" target="_blank" id="hostInfo"><i class="layui-icon">&#xe615;</i>&nbsp;&nbsp;地理位置</a></div>
<div class="layui-card-body">
<p class="description" id="country">城市:</p>
<p class="description" id="city">城市:</p>
<p class="description" id="port">端口:</p>
<p class="description" id="protocol">协议:</p>
</div>
</div>
<div class="layui-card" id="ipZichan">
<div class="layui-card-header"><a id="zichanHost" href="" target="_blank"><i class="layui-icon">&#xe615;</i>&nbsp;&nbsp;资产信息</a></div>
<table id="tableData" class="layui-table" lay-skin="nob" lay-size="sm" lay-even>
<colgroup>
<col width="260">
<col width="100">
<col width="100">
<col width="100">
</colgroup>
<thead>
<tr>
<td>标题</td>
<td>协议</td>
<td>端口</td>
<td>查看</td>
</tr>
<tbody id="tbody">
</tbody>
</table>
</div>
</div>
<script src="scripts/popup.js"></script>
</body>
<!-- style="color: #7A7A7A; font-size: 0.8em;border-collapse: collapse;border-spacing: 0;"-->
</html>
1 change: 1 addition & 0 deletions build/chrome/scripts/background.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/chrome/scripts/contentscript.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/chrome/scripts/livereload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/chrome/scripts/options.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions build/chrome/scripts/popup.js

Large diffs are not rendered by default.

Loading

0 comments on commit 767a22f

Please sign in to comment.