Skip to content

Instantly share code, notes, and snippets.

@hungvk
hungvk / OSX.vmx
Last active June 1, 2017 07:24
working osx file on ESXi 6.5 (AMD FX and AMD A6,A8 ..)
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "13"
vmci0.present = "TRUE"
floppy0.present = "FALSE"
svga.vramSize = "16777216"
numvcpus = "4"
memSize = "4096"
sched.cpu.units = "mhz"
powerType.suspend = "soft"
@hungvk
hungvk / create-iso.sh
Created May 31, 2017 06:38 — forked from julianxhokaxhiu/create-iso.sh
Simple bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
# Enjoy!
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build

WannaCry|WannaDecrypt0r NSA-Cybereweapon-Powered Ransomware Worm

  • Virus Name: WannaCrypt, WannaCry, WanaCrypt0r, WCrypt, WCRY
  • Vector: All Windows versions before Windows 10 are vulnerable if not patched for MS-17-010. It uses EternalBlue MS17-010 to propagate.

SECURITY BULLETIN AND UPDATES HERE: https://technet.microsoft.com/en-us/library/security/ms17-010.aspx

Malware samples

@hungvk
hungvk / checkpointconnect.sh
Created April 12, 2017 05:08 — forked from thegass/checkpointconnect.sh
use expect (http://expect.sourceforge.net/) to autoconnect to checkpoint vpn (snx linux cli client)
#!/usr/bin/env expect
set username your_vpn_username
set pass your_vpn_passwort
set host your.vpn.server
spawn snx -s ${host} -u ${username}
expect "Please enter your password:" { send "${pass}\r" }
interact