
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
github.com/grokify/go-wordpressxml
The go-wordpressxml
package provides a WordPress WXR (WordPress eXtended RSS) XML parser.
Documentation is provided using godoc and available on GoDoc.org.
Installing any of the packages will install the entire library. For example:
$ go get github.com/grokify/go-wordpressxml
import (
"github.com/grokify/go-wordpressxml"
)
func main() {
wp := wordpressxml.NewWordPressXML()
err := wp.ReadFile("myblog.wordpress.2016-08-13.xml")
if err != nil {
panic(err)
}
wp.WriteMetaCSV("articles.csv")
}
Since WordPress uses content:encoded
and excerpt:encoded
, Go's XML built-in parser treats both of these as the field encoded
in different namespaces. This parser retrieves these fields as an array of encoded
and then moves the data into the Content
property.
Features, Issues, and Pull Requests are always welcome.
To contribute:
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Please report issues and feature requests on GitHub.
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.