~ git useful command ~

Post on (2019.05.17) |git | No Comments
#create git
git --bare init

#List branch
git branch

#create Branch
git branch new-branch

#del branch
git branch -D new-branch

~ 掃ipa內的framework ~

Post on (2019.05.16) |ios, xcode | No Comments

xxx.ipa => xxx.zip
otool -L xxx.app/xxx

2)bundle id 岩唔岩
3)in-app purchase 有無填
4)in-app purchase item 有無tick Cleared for Sale
5)itune connect account <agreement, tax, banking> paid apps agreement 是否在active狀態

Option Click the file and it will open to assistant editor side

~ kali setup remote desktop ~

Post on (2019.03.18) |kali | No Comments

apt-get install xrdp
service xrdp start
update-rc.d xrdp enable

apt-get remove gnome-core
apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base
update-alternatives –config x-session-manager

nano /etc/xrdp/xrdp.ini

server side setting

insert client ip

centos client side setting

yum install nfs-utils nfs-utils-lib
mkdir -p /mnt/nfs/home
mount {serverIP}:/home /mnt/nfs/home

checking the mounting
df -h

add startup script
vi /etc/fstab
{serverIP}:/home /mnt/nfs/home nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0

if Router Subnet
wget https://git.io/vpnsetup-centos -O vpnsetup.sh && sudo sh vpnsetup.sh

nano /etc/ipsec.conf



nano /etc/xl2tpd/xl2tpd.conf

ip range =
local ip =

iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE

Router Port forward 1701,500,4500 to vpn server

# wget -qO- http://freegeoip.net/json/
{“ip”:”″,”country_code”:”HK”,”country_name”:”Hong Kong”,”region_code”:””,”region_name”:””,”city”:”San Po Kong”,”zip_code”:””,”time_zone”:”Asia/Hong_Kong”,”latitude”:11.11,”longitude”:11.11,”metro_code”:0}

# wget -qO- http://freegeoip.net/json/ | grep -Po ‘(?<=”ip”:”)[^”]*’

Next Page »
晴晴兔的少女回憶 =3=~ All rights reserved.