hak5 / sharkjack-payloads Goto Github PK
View Code? Open in Web Editor NEWThe Official Hak5 Shark Jack Payload Repository
Home Page: https://sharkjack.com
The Official Hak5 Shark Jack Payload Repository
Home Page: https://sharkjack.com
I just spent over an hour trying to get a Shark Jack Cable to communicate with C2. It turned out to be a time issue.
Please consider adding:
/usr/sbin/ntpd -q -p 1.openwrt.pool.ntp.org
or similar to all scripts that upload to C2 to avoid this frustrating issue.
I think you need to remove "-v" at the end of line 75, otherwise it won't get connected. You can also simply remove the whole "grep -v 172.16.24.1" at the end.
IFACE=$(ip route show to match 172.16.24.1 2>/dev/null| grep -i 172.16.24.1 | cut -d ' ' -f3 | grep -v 172.16.24.1)
Utilizing the sharkjack.sh
terminal UI to include an option that we can upload the device.config
that is previously downloaded from Could C2.
Potentials options to implement it:
device.config
C2CONNECT
after the device.config
is uploadedHi there is an HTTPS issue with one of you hak5 repos used for the shark jack.
root@shark:~/loot/package-installer# cat package-installer_2.log
#
#
# Updating Package List
#
#
Downloading http://downloads.hak5.org/packages/shark/1907//Packages.gz
*** Failed to download the package list from http://downloads.hak5.org/packages/shark/1907//Packages.gz
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gzCollected errors:
* opkg_download: Failed to download http://downloads.hak5.org/packages/shark/1907//Packages.gz, wget returned 8.
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
Hi,
Not sure where to post this issue. Let me know if I should post it somewhere else.
When initiating UPDATE_FIRMWARE on the new shark jack cable it's failing with:
root@shark:/# UPDATE_FIRMWARE Checking internet connection Checking for updates cat: can't open '/tmp/firmware_check': No such file or directory
After some debugging it seems it does not trust the https certificate:
root@shark:/# wget https://downloads.hak5.org/api/devices/sharkjack-cable/firmwa res -O /tmp/firmware_check Downloading 'https://downloads.hak5.org/api/devices/sharkjack-cable/firmwares' Connecting to 142.250.74.179:443 Connection error: Invalid SSL certificate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.