Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Jinxu imfht

🎯
Focusing
Block or report user

Report or block imfht

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@imfht
imfht / edu_ips.txt
Created Apr 15, 2019
教育网asn的IP
View edu_ips.txt
1.51.0.0/16
1.51.32.0/20
1.51.48.0/21
1.184.0.0/15
42.244.0.0/16
42.245.0.0/16
42.246.0.0/15
42.247.9.0/24
49.52.0.0/14
49.52.0.0/15
@imfht
imfht / webscantest[dot]cn_index.html
Created Feb 18, 2019
webscantest[dot]cn index.html
View webscantest[dot]cn_index.html
<html>
<head>
<link href="https://cdn.bootcss.com/bootswatch/4.2.1/cosmo/bootstrap.min.css" rel="stylesheet">
<meta charset="utf-8">
<title>webscantest.cn -在线靶场漏洞测试(beta)</title>
<style>
.button {
display: block;
background: #4E9CAF;
padding: 10px;
@imfht
imfht / nmap_top_port.txt
Created Jan 24, 2019
nmap_top_port.txt
View nmap_top_port.txt
/Users/jinxufang/.virtualenvs/PunkScanner/bin/python /Users/jinxufang/ShareToVMWin/PycharmProjects/PunkScanner/test.py
nmap top1000: 1,3-4,6-7,9,13,17,19-26,30,32-33,37,42-43,49,53,70,79-85,88-90,99-100,106,109-111,113,119,125,135,139,143-144,146,161,163,179,199,211-212,222,254-256,259,264,280,301,306,311,340,366,389,406-407,416-417,425,427,443-445,458,464-465,481,497,500,512-515,524,541,543-545,548,554-555,563,587,593,616-617,625,631,636,646,648,666-668,683,687,691,700,705,711,714,720,722,726,749,765,777,783,787,800-801,808,843,873,880,888,898,900-903,911-912,981,987,990,992-993,995,999-1002,1007,1009-1011,1021-1100,1102,1104-1108,1110-1114,1117,1119,1121-1124,1126,1130-1132,1137-1138,1141,1145,1147-1149,1151-1152,1154,1163-1166,1169,1174-1175,1183,1185-1187,1192,1198-1199,1201,1213,1216-1218,1233-1234,1236,1244,1247-1248,1259,1271-1272,1277,1287,1296,1300-1301,1309-1311,1322,1328,1334,1352,1417,1433-1434,1443,1455,1461,1494,1500-1501,1503,1521,1524,1533,1556,1580,1583,1594,1600,1641,1658,1666,1687-1688,170
@imfht
imfht / sqlinj.py
Created Jan 21, 2019
SQL盲注脚本
View sqlinj.py
#!/usr/bin/env python
# encoding: utf-8
# vip.py
# ringzero@0x557.org
import requests
import time
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
payloads = list('abcdefghijklmnopqrstuvwxyz0123456789@_.')
@imfht
imfht / transport.go
Created Nov 1, 2018
modified transport. can visit a domain IPv4 only or IPv6 only.
View transport.go
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// HTTP client implementation. See RFC 7230 through 7235.
//
// This is the low-level Transport implementation of RoundTripper.
// The high-level interface is in client.go.
package http
@imfht
imfht / httpdns.go
Created Sep 4, 2018 — forked from fangdingjun/httpdns.go
use dnspod's httpdns service to query dns
View httpdns.go
package main
import (
"bytes"
"fmt"
"github.com/miekg/dns"
"io/ioutil"
"log"
"net/http"
)
@imfht
imfht / gist:af5970a3799b6064964fd5294499ec06
Created Aug 19, 2018 — forked from evilpacket/gist:3628941
Top 1000 from Alexa Top 1million
View gist:af5970a3799b6064964fd5294499ec06
wget -q http://s3.amazonaws.com/alexa-static/top-1m.csv.zip;unzip top-1m.csv.zip; awk -F ',' '{print $2}' top-1m.csv|head -1000 > top-1000.txt; rm top-1m.csv*
@imfht
imfht / setup.md
Created Jun 30, 2018 — forked from xrstf/setup.md
Nutch 2.3 + ElasticSearch 1.4 + HBase 0.94 Setup
View setup.md

Info

This guide sets up a non-clustered Nutch crawler, which stores its data via HBase. We will not learn how to setup Hadoop et al., but just the bare minimum to crawl and index websites on a single machine.

Terms

  • Nutch - the crawler (fetches and parses websites)
  • HBase - filesystem storage for Nutch (Hadoop component, basically)
View test_hbase.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from thrift.transport import TSocket
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol
from hbase import Hbase
from hbase.ttypes import ColumnDescriptor, Mutation
@imfht
imfht / colly_example.go
Created May 10, 2018
colly(a golang web cralwer framework ) with auto decode example
View colly_example.go
package main
import (
"fmt"
"github.com/gocolly/colly"
"golang.org/x/net/html/charset"
"bytes"
"io/ioutil"
"github.com/saintfish/chardet"
You can’t perform that action at this time.