4 of the Best Sandbox Applications for Windows to Keep You Safe
Category Archives: Other
Docker basics – running services
START
docker run –name my-container-name -e MYSQL_ROOT_PASSWORD=[PW] -d mysql/mysql-server:tag
e.g. sudo docker run –name my-container-name -e MYSQL_ROOT_PASSWORD=[PW] -d mysql/mysql-server:5.7.12
sudo docker ps -a #to see the processes
sudo docker start ubuntu16-php7
sudo docker exec -it ubuntu16-php7 /etc/init.d/ssh start
sudo docker exec -it ubuntu16-php7 /etc/init.d/mysql start
sudo docker exec -it ubuntu16-php7 /etc/init.d/apache2 start
Using RSYNC to backup old files
Copying files older than a specific date to a different directory. This will retain the folder structure and file time stamp.
find ./ -not -newermt “2010-12-31” -type f -exec rsync -avzR ‘{}’ /TARGET FOLDER/ \;
Moving files older than a specific date to a different directory.
find ./ -not -newermt “2010-12-31” -type f -exec rsync -avzR –remove-source-files ‘{}’ /TARGET FOLDER/ \;
Synology – cannot login to the system because the disk space is full
Delete some files using SSH:
- Login to SSH using root / [password of admin user]
- cd /
- rm .syno/patch/*
Delete some applications using package manager:
- Login to admin http://SERVER:5000
- Review the installed applications, stop or uninstall not used application(s)
- This will free up some space in root folder (/), check available space using df -h
GIT remove submodule in repository
git rm -r –cached — [repository path]
git commit -m “removed submodule [repository name]”NOTE: [repository path] shouldn’t have trailing “\” or “/”
Cordova and Android Quick Setup
- Install NodeJS
- Using NPM, install cordova
$sudo npm install -g cordova - Install Android SDK Tools and ADT http://developer.android.com/sdk/index.html
- Install Latest JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html
– Configure PATH for JAVA_HOME and Android tools (~/.bashr)
— export JAVA_HOME=/PATH/jdk1.7.0_xx
— export PATH=${PATH}:/PATH/android/platform-tools:/PATH/android/tools
Related Links
http://cordova.apache.org/docs/en/3.3.0/guide_platforms_android_index.md.html
http://cordova.apache.org/docs/en/3.3.0/guide_cli_index.md.html#The%20Command-Line%20Interface
Citrix RSA on Android Phone
Install the following from google play store
- RSA SecureID Token https://play.google.com/store/apps/details?id=com.rsa.securidapp&hl=en
- Citrix Receiver https://play.google.com/store/apps/details?id=com.citrix.Receiver&hl=en
NOTE: Make sure you have the Compressed Token Format (CTF) version of your SDTID. Use the converter available in windows or linux to convert SDTID to CTF. http://www.emc.com/security/rsa-securid/rsa-securid-software-authenticators/converter.htm
Requirements:
- OpenJDK 1.8
Command:
- CTF: java -verbose -jar TokenConverter.jar FILE.sdtid -android
- QR Code: java -verbose -jar TokenConverter.jar FILE.sdtid -android -o output.jpg -qr
Related Resources:
- http://pages.cpsc.ucalgary.ca/~leo/support/rsa_import/
- Access your Citrix login page https://vpn.yourdomain.com
Pulling Latest MediaWiki Content
Two ways to get the latest content from a media wiki page.
Configure NetGear WN2000RPT
- Connect to NetGear universal wireless extender router via LAN.
- Open browser and connect to http://www.mywifiext.net/cgi-bin/index.html (admin/password). When given an option to continue or exit. Click exit to configure the router manually. The setup wizard doesn’t work for me.
- Select connect to existing network, select access point and supply necessary password. Personally I prefer to use the same AP name.
- Once the above is finish, click on IP address setup on the left navigation. Select get dynamic ip address from router, then click apply (this will join the netgear universal wifi range extender to the host router).
- If your LAN connection icon in your task bar alerts a warning icon, most likely the host router restrict extending the wifi connetion.
NOTE:
1. Make sure the wireless access point connection allows extending the WIFI connection.
2. Try updating firmware http://downloadcenter.netgear.com/en/default.aspx
SVCHOST sending data to NSA.mefound.com
I noticed that a svchost process was sending small binary data to NSA.mefound.com through fiddler web debugger. I tried running antivirus to fix this but no luck. The interim solution is to stop the application from sending data to the target host until a proper solution is there.
Using fiddler web debugger, get the process ID and terminate using the command line taskkill /F /PID XXX.
Please share how you fix this issue.