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 / 微博监控工具
Created Aug 11, 2016
一些杂七杂八的脚本
View 微博监控工具
import requests
import re
import time
from termcolor import colored
#----------------------------------------------------------------------
#使用的是现成的cookie,大概为一次性用品
def test():
"""test"""
headers = {'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8','Cookie':'SUB=_2AkMgOcBjf8NhqwJRmP0WyW3laIx2wg3EieLBAH7sJRMxHRl-yT83qksDtRBX994ErYChwNsT9GjkBZ4xkFkgxQ..;'}
old=0
@imfht
imfht / get_data.py
Created Oct 24, 2016
微信公众号的小脚本
View get_data.py
#coding: utf-8
import werobot
robot = werobot.WeRoBot(token='HelloWorld')
dic = {'11':'(-`ェ´-╬) web技术',
'12':'面向对象 编译原理',
'13':'马克思',
'21':'计网课设 机器学习',
'22':'操作系统课设 计组课设',
'31':'(・ω´・ ) 面向对象',
@imfht
imfht / sqlinj.py
Created Apr 2, 2017
how w3af know sqlinjection.(not bind sqlinj)
View sqlinj.py
"""
sqli.py
Copyright 2006 Andres Riancho
This file is part of w3af, http://w3af.org/ .
w3af is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
@imfht
imfht / fofa_rule.sql
Created May 30, 2017 — forked from Tr3jer/fofa_rule.sql
fofa_rule.sql
View fofa_rule.sql
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50542
Source Host : localhost
Source Database : rule
Target Server Type : MySQL
View test_post_file.py
# coding = utf-8
import json
import base64
import requests
# 打开图片文件
requests.adapters.DEFAULT_RETRIES = 5
# 用base64编码图片文件
headd = {
"User-Agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36",
@imfht
imfht / shoot.py
Created Jun 15, 2017
a page shoot program.
View shoot.py
def shoot(url):
"""
shoot and return picture path
"""
try:
driver = webdriver.PhantomJS(
executable_path='/home/ubuntu/phantomjs-2.1.1-linux-x86_64/bin/phantomjs') # or add to your PATH
except Exception as e:
print 'Exception found'
print e
@imfht
imfht / get_and_insert_redis.go
Created Jun 15, 2017
get urls and insert some result to redis.
View get_and_insert_redis.go
// package xiaoxuanfeng_v2
package main
import (
"bufio"
//"flag"
"fmt"
"log"
"net/http"
"os"
View hetao.html
<!DOCTYPE html>
<html>
<head>
<title>我想和你做,我想,爱不能光说不做。</title>
<style>html {
font-family: sans-serif;
@imfht
imfht / PyPing.py
Created Jun 29, 2017
Python ping temp file
View PyPing.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2017/6/29 下午6:33
# @Auth : fiht
# @File : PyPing.py
# @Purpose : Python Ping
import platform
import subprocess
@imfht
imfht / monStar.py
Created Jul 2, 2017
监控Github Star变化情况
View monStar.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2017/7/2 下午8:44
# @Auth : fiht
# @File : monStar.py
# @Purpose : 监控GithubStar情况
import requests
import re
import logging
You can’t perform that action at this time.