Scan your WP blog with WP scan

I am going to find WordPress Vulnerabilities on my  blog with WP scan. WPScan is a black box WordPress Security Scanner written in Ruby which attempts to find known security weaknesses within WordPress installations. Its intended use it to be for security professionals or WordPress administrators to asses the security posture of their WordPress installations. The code base is Open Source and licensed under the GPLv3.

[Read more…]

Fix the iOS code signing issue using Jenkins

This week I configure the Jenkins to work with Mac and try to build iOS applications. Unfortunately, I got the code signing issues, either I use Xcode plugin or Xcode command line tool. 

The core reason is Jenkins is running as daemon mode in Mac, just assume it is a different user – "Jenkins", so it will not have access to the keychain or provision profile as you log in using your credentials, which cause the code signing issue.

[Read more…]

Change and Update WordPress URLS in Database

After migrating a WordPress site to a new URL either to a live production or a testing development server, the new URL strings in the mysql database need to be changed and updated in the various mysql database tables.

This method just uses the whole mysql database rather than a WordPress export/import from within, and is best suited for a straight swap. So you would copy all the WordPress files/folders to the new destination, set the correct ownership to those files,  then do the database switcheroo.

[Read more…]

Solving npm error: Cannot find module ‘are-we-there-yet’

Problem

# npm install cordova-ios

module.js:340 throw err; ^ Error: Cannot find module 'are-we-there-yet'

at Function.Module._resolveFilename (module.js:338:15) at

Function.Module._load (module.js:280:25) at Module.require

(module.js:364:17) at require (module.js:380:17) at Object.<anonymous>

(/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:2:16)

at Module._compile (module.js:456:26) at Object.Module._extensions..js

(module.js:474:10) at Module.load (module.js:356:32) at

Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)

[Read more…]