Rip 'em Out!
==Rip all of them! It serve you well==
Friday, November 15, 2019
Sunday, September 29, 2019
Install IPA file
Installing IPA without using any fancy tools, in this case we just using scp and uicache command!
To do it;
1. Extract IPA file with 7zip or using whatever archiver tool
2. CD into extracted folder
3. scp .app into your jailbroken device;
scp -r iOS_App_File.app [email protected]:~
4. ssh into jailbroken device, and move .app file folder into /Applications folder;
ssh [email protected]
su
mv iOS_App_File.app/ /Applications
5. Next we set our file to executable permission;
cd /Applications
chmod +x iOS_App_File.app
6. Final step, exit current ssh interpreter session, and run uicache command
To do it;
1. Extract IPA file with 7zip or using whatever archiver tool
2. CD into extracted folder
3. scp .app into your jailbroken device;
scp -r iOS_App_File.app [email protected]:~
4. ssh into jailbroken device, and move .app file folder into /Applications folder;
ssh [email protected]
su
mv iOS_App_File.app/ /Applications
5. Next we set our file to executable permission;
cd /Applications
chmod +x iOS_App_File.app
6. Final step, exit current ssh interpreter session, and run uicache command
Tuesday, August 13, 2019
Dumpcap - Its the way you DUMP pcap!
Why dumpcap? Because it is light and more importantly its CLI (Command Line Interface). With that we can leverage on and write some automated python, bash or related scripts to automated our work.
In my case, I wanted to capture all the packets and dump it into separate file with size of 50MB and continuously capture for a certain time period e.g 9:00 till 17:00 (wherever you wanted to)
$ dumpcap -i 1 -b filesize:10 -w demo.pcapng
//Command above will dump all packets separately into 10kb size into filename of demo.pcapng
P/S:
-i = interface you wish to capture from (you might wanna run tshark with -D options first)
Anyhow if you stuck, don't forget to read user manual. Cheers!
In my case, I wanted to capture all the packets and dump it into separate file with size of 50MB and continuously capture for a certain time period e.g 9:00 till 17:00 (wherever you wanted to)
$ dumpcap -i 1 -b filesize:10 -w demo.pcapng
//Command above will dump all packets separately into 10kb size into filename of demo.pcapng
P/S:
-i = interface you wish to capture from (you might wanna run tshark with -D options first)
Anyhow if you stuck, don't forget to read user manual. Cheers!
Monday, August 12, 2019
Wardriving! #2
From my previous post, we already have done capturing all wireless probe network perimeters via Kismet. As for our reference and preliminary analysis purpose, all those information can be export into one single file (.kml) and using Google Earth application to browse and view.
To do that we can use giskismet which is already installed on the Kali Linux distribution.
Simply type this command:
giskismet -x <FILE.netxml> -q "select * from wireless" -o output.kml
Once the file is exported simply open it with Google Earth.
Reference: https://tools.kali.org/wireless-attacks/giskismet
To do that we can use giskismet which is already installed on the Kali Linux distribution.
Simply type this command:
giskismet -x <FILE.netxml> -q "select * from wireless" -o output.kml
Once the file is exported simply open it with Google Earth.
Reference: https://tools.kali.org/wireless-attacks/giskismet
Sunday, February 24, 2019
iOS - Convert .app to .ipa
While doing a iOS Security Testing, I wondered how do we convert .app into .ipa. So basically here are the structure of .ipa files.
1. First, SSH in your iPhone (Jailbroken).
2. Download the .app folder via scp
3. Copy the .app folder into a folder called
Payload.
4. Compress it with .zip extension using
any compression software.
5. Change the
extension from file.zip to file.ipa.
That’s it. Now you can use these
.ipa files to install the app into your iPhone.
Monday, December 24, 2018
MSF ::EXITFUNC::
Quick note about MSF EXITFUNC.
So what is EXITFUNC?
EXITFUNC option is set to 'thread' by default, and it works fine in most cases, so we don't usually look into it much. But in some situations specifying a different EXITFUNC is necessary so that you can have a clean exit from the exploited box.
There are 3 different values for EXITFUNC:
So what is EXITFUNC?
EXITFUNC option is set to 'thread' by default, and it works fine in most cases, so we don't usually look into it much. But in some situations specifying a different EXITFUNC is necessary so that you can have a clean exit from the exploited box.
There are 3 different values for EXITFUNC:
- THREAD: This method is used in most exploitation scenarios where the exploited process (e.g. IE) runs the shellcode in a sub-thread and exiting this thread results in a working application/system (clean exit)
- PROCESS: This method should be used with multi/handler. This method should also be used with any exploit where a master process restarts it on exit.
- SEH: This method should be used when there is a structured exception handler (SEH) that will restart the thread or process automatically when an error occurs.
Might be useful when we wanted to generate a payload with MSFVENOM.
Sunday, November 25, 2018
Side Note
I make this configuration file which to be copy later into the settings.
Make sure download these two repos:
==Start copy here==
[general]
threads = 30
follow-redirects = True
#exclude-status = 200,301
#recursive = False
#scanner-fail-path = InvalidPath123123
save-logs-home = True
[reports]
autosave-report = True
autosave-report-format = html
[dictionary]
#wordlist = test.dicc
###PHP-FUZZ###
#wordlist = /path/to/SecLists/Discovery/Web-Content/PHP.fuzz.txt
###BACKUP&DB###
#wordlists = /path/to/SecLists/Discovery/Web-Content/Common-DB-Backups.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/CommonBackdoors-PHP.fuzz.txt
###FILES##
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-small-files.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-medium-files.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-large-files.txt
###DIRECTORIES###
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-small-directories.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-medium-directories.txt
wordlist = /path/to/SecLists/Discovery/Web-Content/raft-large-directories.txt
####SQLi###
#wordlist = /path/to/SecLists/Fuzzing/*.txt
###XSS####
#wordlist = /path/to/SecLists/Fuzzing/XSS-Somdev.txt
#lowercase = False
[connection]
useragent = "Mozilla/5.0 (Linux; Android 7.0; SM-A310F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Mobile Safari/537.36 OPR/42.7.2246.114996"
timeout = 30
max-retries = 3
#http-proxy = localhost:8080
#random-user-agents = True
==End of file==
Make sure download these two repos:
==Start copy here==
[general]
threads = 30
follow-redirects = True
#exclude-status = 200,301
#recursive = False
#scanner-fail-path = InvalidPath123123
save-logs-home = True
[reports]
autosave-report = True
autosave-report-format = html
[dictionary]
#wordlist = test.dicc
###PHP-FUZZ###
#wordlist = /path/to/SecLists/Discovery/Web-Content/PHP.fuzz.txt
###BACKUP&DB###
#wordlists = /path/to/SecLists/Discovery/Web-Content/Common-DB-Backups.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/CommonBackdoors-PHP.fuzz.txt
###FILES##
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-small-files.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-medium-files.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-large-files.txt
###DIRECTORIES###
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-small-directories.txt
#wordlist = /path/to/SecLists/Discovery/Web-Content/raft-medium-directories.txt
wordlist = /path/to/SecLists/Discovery/Web-Content/raft-large-directories.txt
####SQLi###
#wordlist = /path/to/SecLists/Fuzzing/*.txt
###XSS####
#wordlist = /path/to/SecLists/Fuzzing/XSS-Somdev.txt
#lowercase = False
[connection]
useragent = "Mozilla/5.0 (Linux; Android 7.0; SM-A310F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.91 Mobile Safari/537.36 OPR/42.7.2246.114996"
timeout = 30
max-retries = 3
#http-proxy = localhost:8080
#random-user-agents = True
==End of file==
Subscribe to:
Posts (Atom)
Spliting large pcap into multiple single pcap
Analysing a large size of PCAP is pain in the ass. So, why not we just split it into a multiple files. We can do that with editcap. In this...
-
Just re-post one of my visited reference blog post: Original URL: http://www.forkbombers.com/2016/07/sqlmap-tamper-scripts-update.html ...
-
Been busy with report writing. Just wanna put some of these command and technique on how to restore interrupted session or aborted session ...
-
Quick note about MSF EXITFUNC. So what is EXITFUNC? EXITFUNC option is set to 'thread' by default, and it works fine in most ca...

