
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
github.com/houhlin/seocms
SEOCMS is a Search engine optimized CMS, which is developed in Go programming language.
SEOCMS uses following 3rd frameworks:
$ mysql -u root -p
CREATE DATABASE seocms CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER seocms@localhost IDENTIFIED BY 'helloworld';
GRANT ALL PRIVILEGES ON seocms.* TO seocms@localhost;
USE seocms;
CREATE TABLE IF NOT EXISTS category (id INT NOT NULL AUTO_INCREMENT, name CHAR(20) NOT NULL, name_en CHAR(20) NOT NULL, description TEXT, alias CHAR(100), PRIMARY KEY (id));
CREATE TABLE IF NOT EXISTS tag (id INT NOT NULL AUTO_INCREMENT, name CHAR(20) NOT NULL, name_en CHAR(20), description TEXT, alias CHAR(100), PRIMARY KEY (id));
CREATE TABLE IF NOT EXISTS article (id INT NOT NULL AUTO_INCREMENT, title CHAR(200) NOT NULL, abstract TEXT, abstract_html TEXT, content TEXT, content_html TEXT, pubdate DATETIME NOT NULL, updated DATETIME NOT NULL, category INT NOT NULL, PRIMARY KEY (id), FOREIGN KEY (category) REFERENCES category(id));
CREATE TABLE IF NOT EXISTS article_tags (id INT NOT NULL AUTO_INCREMENT, article INT NOT NULL, tag INT NOT NULL, PRIMARY KEY (id), FOREIGN KEY (article) REFERENCES article(id), FOREIGN KEY (tag) REFERENCES tag(id));
CREATE TABLE IF NOT EXISTS user (id INT NOT NULL AUTO_INCREMENT, email CHAR(100) NOT NULL, name CHAR(50) NOT NULL, password CHAR(100) NOT NULL, created TIMESTAMP DEFAULT '0000-00-00 00:00:00', updated TIMESTAMP DEFAULT NOW() ON UPDATE NOW(), last_login TIMESTAMP, PRIMARY KEY (id));
CREATE TABLE IF NOT EXISTS link (id INT NOT NULL AUTO_INCREMENT, name CHAR(50) NOT NULL, url CHAR(255) NOT NULL, description TEXT, PRIMARY KEY (id));
CREATE TABLE IF NOT EXISTS site (id INT NOT NULL AUTO_INCREMENT, name CHAR(20) NOT NULL, content TEXT, PRIMARY KEY (id));
quit
Build and start:
$ go build main.go
$ ./main
Visit http://localhost:8056/ for article surfing.
Visit http://localhost:8056/admin/ for article and category administration.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.