Giter Club home page Giter Club logo

gscan's Issues

Ubuntu 下扫描出结果,但是没有写进google_ip.txt文件,不知是不是BUG?

命令执行过程如下:
root@ubuntu:/gocode/bin# ./gscan
2014/11/02 05:09:01 Start loading IP Range file:./iprange.conf
2014/11/02 05:09:01 Start scanning available IP
2014/11/02 05:09:02 Found a record: IP=..., SSLRTT=0.334212s
2014/11/02 05:09:02 Found a record: IP=..., SSLRTT=0.368468s
2014/11/02 05:09:04 Scanned 15 IP in 3.004647s, found 2 records
2014/11/02 05:09:04 All results writed to /root/gocode/bin/google_ip.txt
root@ubuntu:
/gocode/bin# ll
total 4924
drwxr-xr-x 2 root root 4096 Nov 2 05:07 ./
drwxr-xr-x 4 root root 4096 Nov 2 04:51 ../
-rw-r--r-- 1 root root 0 Nov 2 05:09 google_ip.txt
-rwxr-xr-x 1 root root 5017656 Nov 2 04:51 gscan*
-rwxr-xr-x 1 root root 848 Nov 2 05:04 gscan.conf*
-rw-r--r-- 1 root root 50 Nov 2 05:05 iprange.conf
-rwxr-xr-x 1 root root 146 Nov 2 05:04 iprange.conf.bak*

操作系统:Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic i686)
(扫描结果IP隐去) 执行完成后提示扫描到2个可用IP,也有提示写入 google_ip.txt 文件,但是查看文件大小却为0,打开文件查看,文件内容也确实为空,不知道是不是 bug ?

增加辨别bad ipaddrs的功能

最近扫出来的ip良莠不齐,以ping速度排序出来的ip并不是都能用的,有的ip的ping值低但是不能用,会提示bad ipaddrs。

file mode

hi
the file mode may cause to write file error

outputfile, err = os.OpenFile(outputfile_path, os.O_CREATE|os.O_TRUNC, 0644)

Ubuntu 下的编译问题。。。

作者你好,上次在 Freedom 的博客上我提的问题看到了你的回复,问题是这样:
按照作者的说明,我在ubuntu下运行命令下载编译gscan:
go get -u github.com/yinqiwen/gscan

中途提示出错,出错信息如下:
root@ubuntu:~# go get -u github.com/yinqiwen/gscan

github.com/yinqiwen/gscan

gocode/src/github.com/yinqiwen/gscan/scan.go:220:19: error: reference to undefined identifier ‘tls.DialWithDialer’
conn, err := tls.DialWithDialer(dialer, “tcp”, addr, &config)

你的回答是:
go的版本太低吧, 最新的1.3

这个有办法绕过SNI检查吗?

前年用Python写过个类似的程序扫描google IP,弄到了不少,但每个只用了不到半小时就被封了。好像GFW会利用SNI“漏洞”检查对谷歌的访问,发现一个封一个。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.