https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu#0
Just a quick gist to keep track of what was needed to have the latest libreoffice
version
with Dark Theme and the ElementaryOS Icon pack to be accorded with the ElementaryOS distribution.
If you never used ppa
before, you will need to install this package first software-properties-common
.
sudo apt install software-properties-common
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Copyright 2014-2017 PUNCH Cyber Analytics Group | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2018-10-20.
Condition | Explanation |
---|---|
-- | Report pseudo allocation traces. Pseudo traces are derived from currently active trace events. |
--/prefetch:1 | /prefetch:# arguments to use when launching various process types. It has been observed that when file reads are consistent for 3 process launches with the same /prefetch:# argument, the Windows prefetcher starts issuing reads in batch at process launch. Because reads depend on the process type, the prefetcher wouldn't be able to observe consistent reads if no /prefetch:# arguments were used. Note that the browser process has no /prefetch:# argument; as such a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo ========================================= | |
date | |
clamscan / \ | |
--infected \ | |
--recursive \ | |
--max-filesize=200M \ | |
--max-scansize=200M \ | |
--log=/var/log/clamav/clamscan.log \ | |
--move=/var/log/clamav/virus \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
VERSION=$1 | |
rm /usr/local/bin/python | |
ln -s /usr/local/bin/python"$VERSION" /usr/local/bin/python | |
rm /usr/local/bin/pip | |
ln -s /usr/local/bin/pip"$VERSION" /usr/local/bin/pip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"github.com/abadojack/gocensys" | |
"log" | |
"os" | |
"strings" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
os=$(echo -n $(cat /etc/*-release 2> /dev/null | grep ^ID= | sed -e "s/ID=//" | sed -e 's/"//g')) | |
if [ -d /sys/firmware/efi/efivars ] && [ ! -f "/boot/efi/startup.nsh" ]; then | |
sudo mkdir -p /boot/efi/EFI/boot | |
if [ -d "/boot/efi/EFI/refind" ]; then | |
sudo cp -a /boot/efi/EFI/refind/refind_x64.efi /boot/efi/EFI/boot/bootx64.efi | |
elif [ -d "/boot/efi/EFI/grub" ]; then | |
sudo cp -a /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi | |
elif [ -d "/boot/efi/EFI/GRUB" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Source Blog Post | |
https://medium.com/chronicle-blog/winnti-more-than-just-windows-and-gates-e4f03436031a | |
--- | |
#Yara Rules | |
--- | |
rule WinntiLinux_Dropper : azazel_fork | |
{ | |
meta: | |
desc = "Detection of Linux variant of Winnti" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modify the script to include your username and API key. | |
Create a virtualenv to keep your space clean: | |
$ virtualenv -p python3 venv3 | |
Activate it: | |
$ source venv3/bin/activate | |