Skip to content

Instantly share code, notes, and snippets.

@oszo
oszo / extract-ipa.sh
Created March 10, 2019 08:17
IPA extract script
if [ ! -z "$1" -a "$1" != " " ]
then
EXTRACT_APP_PATH=$1
# echo $EXTRACT_APP_PATH
if [ -d "$EXTRACT_APP_PATH" ]
then
EXTRACT_APP_NAME="$(ls $1/ | grep .app)"
# echo $EXTRACT_APP_NAME
if [ ! -z "$EXTRACT_APP_NAME" -a "$EXTRACT_APP_NAME" != " " ]
then
import requests
import urllib.request
import urllib.parse
scheduleData = []
OSCP_PHPSESSID = "paste_PHPSESSID_value_here"
LINE_ACCESS_TOKEN = "paste_LINE_ACCESS_TOKEN_here"
TARGET_MONTH = "1-12-2018"
OSCP_URL = "https://www.offensive-security.com/exam.php?datum="+TARGET_MONTH
LINE_URL = "https://notify-api.line.me/api/notify"
def sendLineNoti(date):