Skip to content

Commit

Permalink
更改路径结构
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowmimosa committed May 31, 2019
1 parent 9005504 commit 8de8159
Show file tree
Hide file tree
Showing 4,166 changed files with 754,633 additions and 79,274 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
now/yue_pic/data.7z
now/getepic/data/books/
7 changes: 7 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
// "program": "${workspaceFolder}/app.js"
"program": "C:\\Users\\ShadowMimosa\\Documents\\GitRepository\\Workoo\\now\\getepic\\try.js"
},
{
"name": "Python: Django",
"type": "python",
Expand Down
Binary file removed 1.xls
Binary file not shown.
Binary file removed 1558782138.9291396.xls
Binary file not shown.
Binary file removed 1558782802.9242227.xls
Binary file not shown.
Binary file removed 1558783103.3810654.xls
Binary file not shown.
Binary file removed 1558799178.5446758.xls
Binary file not shown.
Binary file removed 1558800011.504686.xls
Binary file not shown.
Binary file removed 1558801783.9127781.xls
Binary file not shown.
59 changes: 59 additions & 0 deletions K8Cscan.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
#Author: K8gege
#Date: 20190512
#.net framework >= 4.0
import platform
import socket
import os
import threading
import time
import sys
import clr

def netscan(ip):
clr.FindAssembly('netscan.dll')
clr.AddReference('netscan')
from CscanDLL import scan
print(scan.run(ip))

def Cscan(ip):
ipc = (ip.split('.')[:-1])
for i in range(1,256):
add = ('.'.join(ipc)+'.'+str(i))
threading._start_new_thread(netscan,(add,))
time.sleep(0.1)

def getos():
return platform.system()

def getip():
return socket.gethostbyname(socket.gethostname())

def pingIP(ip):
output = os.popen('ping -%s 1 %s'%(ptype,ip)).readlines()
for w in output:
if str(w).upper().find('TTL')>=0:
print(ip)

def Cping(ip):
ipc = (ip.split('.')[:-1])
for i in range(1,256):
add = ('.'.join(ipc)+'.'+str(i))
threading._start_new_thread(pingIP,(add,))
time.sleep(0.1)

if __name__ == '__main__':
print('K8Cscan for python 1.0')
if getos() == 'Windows':
ptype = 'n'
elif getos() == 'Linux':
ptype = 'c'
else:
print('The system is not supported.')
sys.exit()
if(os.path.exists('netscan.dll')):
print('load netscan.dll')
Cscan(getip())
else:
print('not found netscan.dll')
print('Default scan ip/24 online PC')
Cping(getip())
Binary file removed SecuritiesKnowlegeGraph/data/.DS_Store
Binary file not shown.
163 changes: 0 additions & 163 deletions SecuritiesKnowlegeGraph/data/concept.csv

This file was deleted.

Loading

0 comments on commit 8de8159

Please sign in to comment.