Skip to content

Instantly share code, notes, and snippets.

View neargle's full-sized avatar
:octocat:
Neargle: Neko~

neargle neargle

:octocat:
Neargle: Neko~
  • Tencent
  • Xiamen, China
  • 21:35 (UTC +08:00)
View GitHub Profile
@cynicXer
cynicXer / masscan_to_nmap.py
Created December 8, 2017 21:40
Parse a masscan output and run an nmap scan on it
#!/usr/bin/python
#
# import masscan output and run an nmap scan on the results
#
import sys
import argparse
from libnmap.parser import NmapParser, NmapParserException
from libnmap.process import NmapProcess
@jabez007
jabez007 / Install-Barnyard.sh
Created February 12, 2018 15:02
A simple Bash script for install Snort and Barnyard on Cent OS 7 from source
!/bin/bash
# Set the internal field separator
IFS=$'\n'
##
# Install pre-reqs
##
yum install libtool autoconf git
@neargle
neargle / .md
Last active March 23, 2022 15:19
概率论与数理统计 中文视频整理.md

视频整理:

  • 中科大
  • 陈希孺版教材
  • 讲师可能是陈希孺老师的学生[大概]
  • 视频较清楚,老师讲课有口音
  • 讲课例子稍微比较多(可能不适合快速学习)
  • 有ppt展示和黑板
  • 可变速
@phith0n
phith0n / README.md
Last active October 5, 2019 14:07
梧桐百科投稿指南

梧桐百科投稿指南

梧桐百科是一个碎片化安全知识学习平台,我们将细小的知识点(tricks)写入卡片,以卡片的形式让学习者对知识的认识程度更加深刻。

我们接受用户投稿,大家可以把自己觉得优秀的碎片化知识发送给我们,投稿地址:https://tricking.io/card/contribute/

投稿步骤

投稿前,请先搜索,可能你的知识点已经被梧桐百科收录。

@phith0n
phith0n / download.php
Last active July 22, 2021 04:16
progress enabled file server
<?php
set_time_limit(0);
$filename = 'bigfile.txt';
$f = fopen($filename, 'r');
$i = 0;
$chunk = 2;
$each = 100 / (filesize($filename) / $chunk);
while (true) {