Sunday, 16 September 2018

Unable to run Etherape on Ubuntu 18.04

Etherape would not start as a root or non-root user on Ubuntu 18.04 with the error message:

GLib-GObject-WARNING **: invalid cast from ‘GtkLabel’ to ‘GnomeCanvas’

I found the answer as to why on the Parrot security forums:
https://community.parrotsec.org/t/etherape-not-working-since-last-update/813/5
This missing library was added with the command:

sudo apt-get install libgnomeui-0

Tuesday, 21 August 2018

How to generate a Battery Report in Windows 10

Useful post on how to generate a battery report in Windows 10:
powercfg /batteryreport /output c:\Temp\Battery_Report.html

See the post here:
https://www.windowscentral.com/generate-battery-report-windows-10

Sunday, 27 May 2018

Parrot 4 will not start LDM in Virtualbox

It seems that Parrot 4.0.1 does not contain a version of Virtualbox tools compatible with kernel 4.16. As a consequence, X will not start due to the lack of supported Kernel modules.

The fix, to install modules from the VirtualBox ISO, is detailed by Pavel at the following link:

Failed to start light display manager? - Community - Parrot Community:



When you obtain the failure message about lightdm, simply press ALT+F1 and log in there. then:
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install build-essential module-assistant
  • sudo m-a prepare
Insert Guest Additions ISO
  • mount /media/cdrom
  • sudo sh /media/cdrom/VBoxLinuxAdditions.run
Reboot

Tuesday, 15 May 2018

Not So Pretty: What You Need to Know About E-Fail and the PGP Flaw | Electronic Frontier Foundation

Not So Pretty: What You Need to Know About E-Fail and the PGP Flaw | Electronic Frontier Foundation:



'via Blog this'

Tuesday, 3 April 2018

Sunday, 11 March 2018

How to install VirtualBox Guest Additions in a Debian virtual machine - Unix & Linux Stack Exchange

How to install VirtualBox Guest Additions in a Debian virtual machine - Unix & Linux Stack Exchange:

For Debian 9, enable backports with contrib repository to /etc/apt/sources.list
  • deb http://ftp.uk.debian.org/debian stretch-backports main contrib

Then update and install:
  • sudo apt update
  • sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms linux-headers-amd64 build-essential

'via Blog this'

Monday, 1 January 2018

Script to create multiple VM clones

I need a script to create several hundred VM's to load test a new VMWare cluster.
I have found this.

http://www.virtualclouds.co.za/?p=1239

Tuesday, 1 August 2017

Disable USB power saving for booting from USB

Having issues booting from USB connected SSD and disabling this in the Linux Kernal seems to solve the issues of the disk becoming unavailable.
Edit /etc/default/grub and change the following line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
Update the config with: sudo update-grub
Reboot
Thanks to this post.

Chromium Hardware Acceleration Issues on Mint 18,2

I'm currently testing Mint18.2 and have run into a number of issues with Chrome. It initially started with corruption issues in Youtube.
After investigation I discovered that the hardware acceleration had been disabled. By adding the following switches to the 'exec' lines in /opt/google/chrome/google-chrome I was able to force all the acceleration options on:

  • --enable-native-gpu-memory-buffers
  • --enable-zero-copy
  • --disable-gpu-driver-bug-workarounds
  • --ignore-gpu-blacklist
  • --enable-gpu-rasterization
  • --enable-checker-imaging
I added these to the file by editing it with root (sudo) options. I suspect the file will be overwritten on update. There seems to be an environment variable for chromium which allows you to set command line options to pass to chromium without editing files, but I can't tell if this works for Chrome yet.

Sunday, 2 July 2017

Unable to update Skype because of GPG error

Recently installed NHSbuntu on an SSD and added Skype but kept getting the following error when trying to run 'apt update':

W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3


Thanks to QwertyChouskie over at this thread for the answer:
'curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -'

Tuesday, 30 May 2017

Bug #1587975 “packagekitd eats all the CPU” : Bugs : AppCenter

Bug #1587975 “packagekitd eats all the CPU” : Bugs : AppCenter:



Elementary OS problems with packagekitd using all CPU after installation of Skype.

Seems that the Skype repo doesn't add the GPG key properly.



I only had to run these lines:

curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -

sudo apt update



'via Blog this'

Monday, 29 May 2017

elementary OS Snippets: Add My Weather Indicator To Wingpanel

elementary OS Snippets: Add My Weather Indicator To Wingpanel: My-Weather-Indicator is a ( Wing )panel-based weather applet that can show weather conditions, a forecast, a forecast map and check sunrise ...



I had to install software-properties-common before I could add the repository:



sudo apt install software-properties-common

sudo add-apt-repository ppa:atareao/atareao

sudo apt-get update
sudo apt-get install my-weather-indicator

Saturday, 27 May 2017

Installing Virtualbox Guest modules into Devuan

This involves the following:

1. Remove the cdrom as a package source
2. Add jessie-backports as a package source
3. Update the installation
4. Add the required packages


1. Remove the cdrom as a package source

As a privileged user, edit the /etc/apt/sources.list file and put a hash character in front of any line starting with 'deb cdrom':

$ sudo vi /etc/apt/sources.list


2. Add jessie-backports as a package source

Add the following three lines (if you're using the GB mirror) to your sources.list:

# jessie-backports
deb http://gb.mirror.devuan.org/merged/ jessie-backports main contrib
deb-src http://gb.mirror.devuan.org/merged/ jessie-backports main contrib

Adjust the URL if you are using a different mirror to what you are using for e.g. jessie-updates


3. Update the installation

$ sudo apt update
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ sudo apt autoclean


4. Identify your kernel architecture:

$ uname -a
Linux devuan 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux

4. Add the required packages, replace amd64 with the architecture identified above as appropriate:

$ sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms linux-headers-amd64 build-essential




Friday, 26 May 2017

Samba - Security Announcement Archive

Now it's SAMBA's turn with CVE-2017-7494.

Either upgrade to latest version, or put 'nt pipe support = no' into [global] section of smb.conf and restart smbd.



Samba - Security Announcement Archive:



'via Blog this'

Thursday, 25 May 2017

Immunet - Cisco Talos

Free cloud and social networking based malware and antivirus protection systems from Cisco\Talos that can run as a companion to your existing antivirus.



Immunet - Cisco Talos:



'via Blog this'

DNS Security with DNSCrypt | OpenDNS

Prevent your ISP collecting your DNS lookups.

Use DNSCrypt with OpenDNS.



DNS Security with DNSCrypt | OpenDNS:



'via Blog this'

Saturday, 6 May 2017

openvas | sil3ntcor3 ramblings

Running an 'apt dist-upgrade' on my Parrotsec install updated the version of OpenVAS and it would not longer start. I could see a message about "wrong database version" on feed update.

The link below got me up and running again.

openvas | sil3ntcor3 ramblings:



I had to run:



  • openvasmd --migrate
  • openvasmd --update




'via Blog this'

Wednesday, 26 April 2017

Windows 10 Creators Update bumped to build 15063.250 with KB4016240 | On MSFT

Windows 10 Creators Update bumped to build 15063.250 with KB4016240 | On MSFT:



I'm hopeful the browser memory leak fix ss the one I observed and reported with regards to the Jetstream tests at http://browserbench.org/JetStream/ .

Edit: Edge still uses GB of memory and eventually crashes and returns to the start page before completing three runs of the test. Not sure if this is an Edge issue, or a combination of Edge and Sophos client v10.7. The same behaviour was seen with Sophos v10.6.

'via Blog this'