Giter Site home page Giter Site logo

bit-wasp / bitwasp-historic Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 20.0 4.49 MB

A secure, anonymous marketplace integrated with the Bitcoin currency

Home Page: http://www.thelaboratory.org

License: The Unlicense

JavaScript 6.76% Shell 0.01% PHP 93.24% Perl 0.01%

bitwasp-historic's People

Contributors

fbueller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitwasp-historic's Issues

/install.php and /index.php should respect environment flag

Both index.php and install.php start with the following two lines:

 error_reporting(E_ALL);
 ini_set("display_errors", 1); 

It appears that there is a system in place to turn these on based on an environment flag (/index.php lines 33-49). By inserting these two lines at the beginning of these files you create a situation identical to the environment flag being set to debug.

While this is convenient for development, it may pose security issues down the road, especially if such use becomes prolific.

Captcha not working

I get the following errors:

A PHP Error was encountered
Severity: Warning
Message: file_get_contents(./assets/images/captcha/.jpg): failed to open stream: No such file or directory
Filename: libraries/My_image.php
Line Number: 84

and

A PHP Error was encountered
Severity: Warning
Message: unlink(assets/images/captcha/.jpg): No such file or directory
Filename: libraries/My_captcha.php
Line Number: 80

Registration will not proceed.

Add debug flag

/index.php and /install.php both include lines at the beginning similar to the following:

error_reporting(E_ALL);
ini_set("display_errors", 1); 

While these are good for debugging purposes, they may pose security issues later on. I propose that there should be a setting or flag designated somewhere that can be checked so that these two lines can be put into an if statement.

Doing so would help increase the overall security of the program as, if done correctly, you would not have to worry about accidentally leaving Error Reporting on when switching the application from debug to production mode.

Project licensing?

A commendable effort. Wondering about license.txt, however: this is presumably for the CodeIgniter framework only, right? If so, perhaps that fact could be made more explicit so as to not scare anyone off; right now the file is situated such that it would seem to cover the project as a whole.

If you're agorist-minded, you may wish to have a look at http://unlicense.org/ for instructions on how to put the software into the public domain (for the benefit of copyright-believers), which would make this project all the more interesting.

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.