Updates remains of wpscan.org
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FROM ruby:2.7.1-alpine AS builder
|
||||
LABEL maintainer="WPScan Team <team@wpscan.org>"
|
||||
LABEL maintainer="WPScan Team <contact@wpscan.com>"
|
||||
|
||||
RUN echo "install: --no-document --no-post-install-message\nupdate: --no-document --no-post-install-message" > /etc/gemrc
|
||||
|
||||
@@ -20,7 +20,7 @@ RUN chmod -R a+r /usr/local/bundle
|
||||
|
||||
|
||||
FROM ruby:2.7.1-alpine
|
||||
LABEL maintainer="WPScan Team <team@wpscan.org>"
|
||||
LABEL maintainer="WPScan Team <contact@wpscan.com>"
|
||||
LABEL org.opencontainers.image.source https://github.com/wpscanteam/wpscan
|
||||
|
||||
RUN adduser -h /wpscan -g WPScan -D wpscan
|
||||
|
||||
@@ -7,7 +7,7 @@ module WPScan
|
||||
|
||||
# @return [ String ]
|
||||
def default_user_agent
|
||||
@default_user_agent ||= "WPScan v#{VERSION} (https://wpscan.org/)"
|
||||
@default_user_agent ||= "WPScan v#{VERSION} (https://wpscan.com/wordpress-security-scanner)"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -8,7 +8,7 @@ describe WPScan::Browser do
|
||||
|
||||
describe '#user_agent' do
|
||||
context 'when not set' do
|
||||
its(:user_agent) { should eq "WPScan v#{WPScan::VERSION} (https://wpscan.org/)" }
|
||||
its(:user_agent) { should eq "WPScan v#{WPScan::VERSION} (https://wpscan.com/wordpress-security-scanner)" }
|
||||
end
|
||||
|
||||
context 'when set' do
|
||||
|
||||
@@ -10,10 +10,10 @@ Gem::Specification.new do |s|
|
||||
s.required_ruby_version = '>= 2.5'
|
||||
s.authors = ['WPScanTeam']
|
||||
s.date = Time.now.utc.strftime('%Y-%m-%d')
|
||||
s.email = ['team@wpscan.org']
|
||||
s.email = ['contact@wpscan.com']
|
||||
s.summary = 'WPScan - WordPress Vulnerability Scanner'
|
||||
s.description = 'WPScan is a black box WordPress vulnerability scanner.'
|
||||
s.homepage = 'https://wpscan.org/'
|
||||
s.homepage = 'https://wpscan.com/wordpress-security-scanner'
|
||||
s.license = 'Dual'
|
||||
|
||||
s.files = Dir.glob('lib/**/*') + Dir.glob('app/**/*') + %w[LICENSE README.md]
|
||||
|
||||
Reference in New Issue
Block a user