Code Monkey home page Code Monkey logo

webrtcxss's Introduction

#WebRtcXSS ###所有代码是基于ThinkPHP框架开发的

项目教程:http://www.freebuf.com/articles/web/103097.html

项目视频:http://open.freebuf.com/live/774.html

作者:Black-Hole

邮箱:[email protected] && [email protected]

###注意:

  • 数据库配置在/Application/Home/Conf/config.php

  • 如果出现ERROR 1067 (42000) at line 22: Invalid default value for ‘create_time’错误
    请移步 http://blog.csdn.net/xionglang7/article/details/44499307 ,是因为create_time里的时间全为0导致的

  • 如果出现Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’错误

    需要开启PDO扩展

  • 因为是伪静态,所以请在nginx配置文件中改动如下:

server {
    listen       80;
    server_name  your_domain;
    root   "website_path";
    location / {
        index  index.html index.htm index.php;
        if (!-e $request_filename){
            rewrite ^/(.*)$ /index.php/$1;
        }
        #autoindex  on;
    }
    location ~ \.php(.*)$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param  PATH_INFO  $fastcgi_path_info;
        fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
        include        fastcgi_params;
    }
}

###其他: 我讨厌markdown╮(╯﹏╰)╭


#WebRtcXSS ###All of the code is based on the framework for the development ThinkPHP

Project Tutorial:http://www.freebuf.com/articles/web/103097.html

Project Video:http://open.freebuf.com/live/774.html

Author:Black-Hole

Email:[email protected] && [email protected]

###Important:

  • Database Config in /Application/Home/Conf/config.php

  • if(Error === ERROR 1067 (42000) at line 22: Invalid default value for ‘create_time’){
    Go here http://blog.csdn.net/xionglang7/article/details/44499307,because create_timewhere time equals 0 }

  • if(Errot === Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’){
    You need to enable the PDO extension }

Because it is pseudo-static , so please nginx configuration file changes are as follows:

server {
    listen       80;
    server_name  your_domain;
    root   "website_path";
    location / {
        index  index.html index.htm index.php;
        if (!-e $request_filename){
            rewrite ^/(.*)$ /index.php/$1;
        }
        #autoindex  on;
    }
    location ~ \.php(.*)$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param  PATH_INFO  $fastcgi_path_info;
        fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
        include        fastcgi_params;
    }
}

###Other:

I hate markdown╮(╯﹏╰)╭

Translation from Google

webrtcxss's People

Contributors

blackhole1 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.