Skip to content

Instantly share code, notes, and snippets.

@ZEROF
ZEROF / PC Engine apufix1a = heat spreader placement fixture for apu-2,3,4 boards 3D printing module.md
Last active Dec 28, 2019
PC Engine apufix1a = heat spreader placement fixture for apu-2,3,4 boards 3D printing module
View PC Engine apufix1a = heat spreader placement fixture for apu-2,3,4 boards 3D printing module.md

From @BalCC0n orga team for hackers communities

People from our team have PC Engine small single board computers for networking in their office or home office. To protect board we are using this case:

image

The heat spreader kit is included with apu boards but because of his size it's not really easy to place it where we want. People from PC Engine are selling heat spreader placement fixture (apufix1a https://pcengines.ch/apufix1a.htm)), but in some countries is not even possible to order it.

@ZEROF
ZEROF / Fixing VMWARE Workstation 15.5.x kernel 5.4 modules issue.md
Created Dec 15, 2019
Fixing VMWARE Workstation 15.5.x kernel 5.4 modules issue
View Fixing VMWARE Workstation 15.5.x kernel 5.4 modules issue.md

Hi folks,

For some time now there is an issue for all people running VMWARE Workstation (i think even player) with vmmon and vmnet kernel modules. When you start Workstation you will get message "Before you can run VMWare, several modules must be compiled and loaded into the running kernel". You will try to click on install, but in the end you will get an error message with path to error log file.

VMware-Kernel-Module-Updater

I'm running kernel 5.4 because this version is fixing few hardware issues I have with "modern hardware" on my laptop.

@ZEROF
ZEROF / Lenovo Carbon X1 (7th generation) battery not charging (solution).txt
Created Dec 12, 2019
Lenovo Carbon X1 (7th generation) battery not charging (solution)
View Lenovo Carbon X1 (7th generation) battery not charging (solution).txt
I woke up, started my laptop, and I got laptop poweroff just after booting. My Carbon X1 (7th generation) is only 2 months
old. Not really best way to start a day.
Solution:
1. Power off your lap top
2. Find this little reset button on the bottom of your laptop
3. Hold for five seconds let go; plug laptop back
4. Hit power button
@ZEROF
ZEROF / vmware_player_15.5__for_ubuntu_and_backbox_install.txt
Created Sep 28, 2019
Install VMWare Player 15.5 for Ubuntu 18.04 and BakcBox Linux
View vmware_player_15.5__for_ubuntu_and_backbox_install.txt
## Install VMWare Player 15.5 for Ubuntu 18.04 and BakcBox Linux
I don't know if VMWare is messing with Linux users or they just don't care, installing VMWare player was not pleasure at all.
You need hackish brain to make it working with Remove Console who is kind of dependency for VMWare WebSphere and
advanced users of VMWare products. Anyway ..
## Step by step
Install older version of VMWare Player 12.5.9
View old_hiawatha.sh
THIS IS OLD VERSION NOT SUPPORTED ANYMORE
Check: https://gist.github.com/ZEROF/10743343
#!/bin/bash
# This script will help you to set Hiawatha Server.
# Tested with Debian 7/8 32/64bit.
# Script author ZEROF zerof at backbox dot org
# If you like Linux and security join http://backbox.org
# Script version 0.5t
# This script is distributed under a DO WHAT THE F*** YOU WANT TO PUBLIC LICENSE.
View keybase.md

Keybase proof

I hereby claim:

  • I am zerof on github.
  • I am zerof (https://keybase.io/zerof) on keybase.
  • I have a public key whose fingerprint is 9496 BC80 3B9C 3C65 6E78 A5B9 C759 1EFB EDFC 6E11

To claim this, I am signing this object:

@ZEROF
ZEROF / openvas-backbox4.sh
Last active Sep 30, 2016
OpenVAS 7 BackBox 4 installation
View openvas-backbox4.sh
#!/bin/bash
# Install OpenVas 7 with BackBox 4.0
# Author ZEROF <zerof at backbox dot org>
# Orginal idea (not working any more): http://www.mockel.se/index.php/2014/02/openvas-7-beta-on-ubuntu-14-04-lts-beta/
# This installation guide was update and translated to script by ZEROF for BackBox 4 users.
# -OpenVas packages updated to last version /x2
# -Fixed installation erros
# -Installing gpg key for feeds upgrade
# -Setting user and password
# -Remove script was upgraded and remove menu option included
@ZEROF
ZEROF / ftp-backup.pl
Created Oct 7, 2014
FTP Perl backup script for Debian 7
View ftp-backup.pl
#!/usr/bin/perl -w
# ORGINAL FTP BACKUP SCRIPT V1.00
# Version 1.01 2nd hand coded BY ZEROF <zerof at backbox.org>
# This script was updated because some providers support only FTP passive mode (like online.net)
# And I needed Debian support as well (replaced path of gzip)
# SFTP support didn't work, need few lines of new code I guess, I didn't spend to much time on that part
# i just disabled, for now. If you have idea about fixing this, keep me posted.
# Is this best solution you will find? Nop, find some more secured scipt like duplicity
# COPYRIGHT 2013 - WEBHOSTINGHERO.COM
@ZEROF
ZEROF / nodewatch.sh
Last active Aug 29, 2015
Node watch installation script
View nodewatch.sh
#!/bin/bash
# This script will help you to set Nodewatch (http://vpsantiabuse.com/).
# Tested with Debian 7 32/64bit.
# Script 2nd hand author ZEROF <zerof@backbox.org>
# Idea was born here https://vpsaddicted.com/installing-and-configuring-nodewatch-on-debian-7/
# If you like Linux and security join http://backbox.org
# Script version 0.3b
# This script is distributed under a DO WHAT THE F*** YOU WANT TO PUBLIC LICENSE.
# http://rmlh.me/license.html
@ZEROF
ZEROF / beaglebon-linux-settings.sh
Created Jul 3, 2014
Driver installation for BeagleBone for Linux user isn't required, but you might find a few udev rules helpful.
View beaglebon-linux-settings.sh
cat > /etc/udev/rules.d/73-beaglebone.rules <<EOF
ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_interface", \
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a6d0", \
DRIVER=="", RUN+="/sbin/modprobe -b ftdi_sio"
ACTION=="add", SUBSYSTEM=="drivers", \
ENV{DEVPATH}=="/bus/usb-serial/drivers/ftdi_sio", \
ATTR{new_id}="0403 a6d0"
ACTION=="add", KERNEL=="ttyUSB*", \
You can’t perform that action at this time.