GithubHelp home page GithubHelp logo

site's Introduction

Site: enigma-dev.org

This is the code to the remainder of the ENIGMA website; most of it is five years old. It's probably going to be completely recoded, one day, long from now, but I figure we may as well commit it in the meantime.

If you see anything that might be considered exploitable, please let us know.

Bootstrapping the ENIGMA server, V1

Main site

The site's operational files are all under /var/www/html, but there are a lot of other configuration steps to prepare Apache to serve this web content.

HTTPD Configuration

Most importantly, httpd.conf must be modified to list virtual host specifications for each website hosted on the server (eg, enigma-dev.org, lateralgm.org, ...). After the first migration, these have all been placed at the bottom of httpd.conf, instead of scattering them throughout a separate vhosts folder. This should minimize effort to port over our configuration in the future.

It is important to note that each of these vhosts declares a <directory> location, and then allows .htaccess to override all filetypes within that directory. This is important for the Wiki, the main site pages, and the error document handlers to function properly.

Also, I ended up having to make some iptables calls myself to open the HTTP/HTTPS ports. For whatever reason, that wasn't handled automatically, and firewalld doesn't seem to be installed/configured....

EnigmaBot

Like the rest of the site, the source code for EnigmaBot is up on GitHub. EnigmaBot depends on Python 2.6-2.7, which are the default as of CentOS 7. EnigmaBot also depends on ASpell. Python bindings for ASpell are up on GitHub. The bot, and all source code needed to build it, is in Josh's home folder.

Other miscellaneous config

Secure Shell

Each home folder contains authorized_keys in its .ssh directory. For security, it is important that password authentication be disabled, and also ssh as root.

MySQL

This is all managed by MariaDB... it seems pretty flaky. I imagine we'll have more problems with it going forward. My only point of advice is to skip on the PhpMyAdmin and do the database import/export manually using the mysql CLI.

SSL

As long as you copy the three certificate files from /etc/pki/tls/certs referenced in httpd.conf, everything should work. One of those is the server's private key. One of them is a signed certificate obtained from Dynadot by issuing them a Certificate Signing Request (the .csr file in that directory) and paying them monies. The final one is a vanilla AlphaSSL certificate obtained using Google and picking the right file for a date. Failure to include that certificate will lead to passive-agressive errors in, eg, Python, when attempting to verify the certificate.

welcometoenigma

The code for the MOTD is also in Josh's home folder. It should probably be committed at some point, but doesn't really belong anywhere and isn't exactly important.

Why is all this stuff in Josh's home folder? Josh is afraid to put it anywhere else.

site's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

fundies

site's Issues

GSOC Page

I would like us to add a GSOC page to site for this year. I think it would be cool if we could grab any issues tagged with GSOC and parse them into the website. We can also add difficulty tags or whatever to the issues to make it easier to parse. I suck at web design but I was thinking something like this:

image

(maybe fluff it up with google colors?)

in mind. We can check some other orgs pages to add some other text fluff too.

Closing Parenthesis on Raw URLs causes wrong target

https://en.wikipedia.org/wiki/Mach_(kernel)

Failed to link to https://en.wikipedia.org/wiki/Mach_(kernel) in a forum post and instead linked to:

https://en.wikipedia.org/wiki/Mach_(kernel

Notice the missing enclosing parenthesis. I am not sure if this is our fault or we should shuffle this up to SMF. I discovered through a simple Google search that I can apparently escape an enclosing parenthesis with %29 and that works.

Outdated Copyright

©2007-2012 The ENIGMA team

Should be...
Copyright © 2007-2014 The ENIGMA Team

Not able to upload to EDC

Screenshot_2020-07-23_14-08-33

I'm not able to upload games onto the EDC from my desktop computer.

I'm using Linux Lite which uses a variant of Ubuntu 20. Not sure if it may be just be my dependencies are too new as version 20 is the newest version.

Apache2 version 7 is installed and 'imagick' is installed as well.

Wiki Admin Demotion

The wiki is still auto demoting admins making it hard for me to just give new editors admin privileges and a pain when I have to admin myself just to go through and raise someone's privileges.

Sharing Links Leads to Captchas

So every SINGLE time I share a link to the site on Facebook it asks me to answer some quiz to prove I'm not a robot. It really sucks and I have no idea how long its been doing it, for way over a year I'm certain. This have something to do with our self-signed SSL certificate or something?

Website Down

Canthelp has it too and some other irc ppl's under Firefox, tried clearing cache, but that does not fix it.

Enigma UI-UX design update

Hi There, I would to work on the enigma design which make it look more attractive and dynamic. Lem me know what are your thoughts on this, Thank you

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.