Jump to content

SSLSplit - Working on latest firmware (2.6.x)


Zylla

Recommended Posts

SSLsplit + Module
Working on the latest firmware > v2.5.4

Package / IPK (For advanced users):
You can now find SSLSplit v0.5.5 on my github repo. 😉
It's been compiled for the latest firmwares, and is working flawlessly for me, on both my Nano and Tetra! 🙂
Manual installation of the package is for advanced users.

The Module:
I've also created a fork of the original SSLsplit Module, that you can find on a separate github. repo:
  https://github.com/adde88/SSLsplitNG

It's been modified to install my package, and should work on firmware versions > 2.6.0

Module Installation:
Download this tarball containing the module, and transfer it to your Pineapples /tmp directory, for example by using WinSCP, or "scp" on Linux.
SSH to your Pineapple and run the commands below exactly as outlined.

cd /tmp
gunzip SSLsplitNG-1.6.tar.gz
tar -xvf SSLsplitNG-1.6.tar
cd SSLsplitNG-1.6
mkdir -p /pineapple/modules/SSLsplitNG
cp -r * /pineapple/modules/SSLsplitNG/

Pineapple NANO:

After completing the above steps, you need to create a sym-link to make the module appear in the web interface. 

You DON'T need to do this on the Pineapple TETRA. 

ln - s /sd/modules/SSLsplitNG /pineapple/modules/SSLsplitNG

I'd appreciate feedback, especially if you encounter any errors! 

When pasting logs and such, please consider using pastebin to avoid filling the thread with debug-stuff.

Donations:
Are very much appreciated!
Alot of my spare-time goes to keeping software up-to-date with the Pineapples on my various repositories, and helping out the community in general!
It really helps me so i can continue on with this work. 🙂
Click here if you want to support my projects over PayPal.

Link to comment
Share on other sites

  • Replies 73
  • Created
  • Last Reply

1. Download the .ipk file from the repo to your Pineapple. 

2. SSH to your Pineapple. cd to the directory containing the file, and run opkg update ; opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd

 

You need to have an active internet connection while installing, as some other dependencies will need to be installed at the same time. And sslsplit will not work without them. 

Link to comment
Share on other sites

Sorry, but if anyone feels that the above explanation doesn't give enough information i suggest you don't try to install this.
I really don't want to be responsible for anyone destroying their Pineapple by doing something wrong in the terminal. 

Perhaps take some time, and get to know the device, and linux, a bit better before attempting it. :) <3

Link to comment
Share on other sites

Impossible for me to say.

I could always try to modify the the module and create a fork, so that it will install my package. But such a module will never be available on the official hak5 sites.
Which is a good thing, because everyone would then be installing and running binaries compiled by people on github.

Link to comment
Share on other sites

i have tried the said above commands and maybe its because im dead tired or a few shots after work idk .

said post above gives command without quotes

"opkg update ; opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd"

prior to the command instructions it only says to download the .ipk file from repo " to your pineapple" does not specify a directory or media.

This method is extremely capable to work, but lack of proper instruction, or time to give quality instruction does not exist .

Yes this may be a method that works, but your instruction is as good as a guy waving hands at a distance in a loud ass room with a million production machines running at 130 dB noise level, with onlookers trying to decipher the message as to what he wants .

Not trying to be a ass, but you do not include certain steps required for others to reproduce and reap such lovely benefits such as yourself. Which further makes some users trying to learn certain things or " your method " have a harder time and give up easily.

Other answers that include more "I know how to do this" attitudes, but say nothing more than "use the search feature on a forum", do not contribute to anything other than further confusion and let downs with many other users and their possible abilities as a person. We are dealing with something that transitions to many basic flavors of linux, but we can all agree the flavor and commands can be different. Things become even more confusing when you have a user that has spent money on this product trying to learn, but they are only familiar with a Windows or Mac environment. Many have hopes and dreams for the NANO or TETRA, but when such vague instruction is given things are easily; Lost, Forgotten, Given-up On, Etc.

Not trying to flame, but sometimes i feel like even though i understand what some of you are replying about. The answers given are like a "go and look at the dictionary n00b" response.

Below is my evening trying to get this to work from 3am till 730am, im sorry if ive come off as dickheadish, but as you can see from login via ssh ive had nothing but issues .

my pineapple shows connected to my network ... via gui i can update or download modules that currently work... i can update and upgrade via opkg thru ssh... i have placed the .ipk in differant dir and tried to create installs or configures to the hilt . Maybe im missing something simple idk, but a prerequisite note on what was possibly needed beforehand was also not included on that note .

[sudo] password for nickelz34: 
┌─[root@parrot]─[/home/nickelz34]
└──╼ #cd /
┌─[root@parrot]─[/]
└──╼ #ssh @ 172.16.42.1
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
           [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
           [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
           [-i identity_file] [-J [user@]host[:port]] [-L address]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
           [-w local_tun[:remote_tun]] destination [command]
┌─[✗]─[root@parrot]─[/]
└──╼ #ssh@172.16.42.1
bash: ssh@172.16.42.1: command not found
┌─[✗]─[root@parrot]─[/]
└──╼ #ssh 172.16.42.1
The authenticity of host '172.16.42.1 (172.16.42.1)' can't be established.
ECDSA key fingerprint is SHA256:SBzpMaebfpMD5dm9cm0cMvaEO+sWDnC1FM8QJV8pc+E.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '172.16.42.1' (ECDSA) to the list of known hosts.
root@172.16.42.1's password: 
Permission denied, please try again.
root@172.16.42.1's password: 


BusyBox v1.30.1 () built-in shell (ash)

                                               .NN,                            
                                    .cxxdl'    xMMO    'cdxxl'                 
                                      .c0WMNk;,NMMW:,xXMMKo.                   
                                      ...:KMMMWMMMMWMMMXc...           .       
                         ,        .l0NMMMNXMMMMMMMMMMMMXNMMMWKl'      xWd      
                       ,0Wd         .':xNMMMMMMMMMMMMMMMMNkc'.        ;KM0'    
                      lWMo            .;dNMMMMMMMMMMMMMMWx:.      .l.   dMWc   
                     :WWo   oNd   .;xKWMMMMMMMMMMMMMMMMMMMMWXx:.  dWX:   dMW;  
                    ,NWo   oMW:   .. ..,lOXWMMMMMMMMMMWN0o;.. ..   cWMl   dMN' 
                   .XMx   oWN;   lc     .loooolcooclooool.    cXl   oMWc   kMK.
                   oMW'  ,WMl   cMW:   lWMW0d:;cdd:;:o0WMWl   lMW:   OMW'  ,WMl
                   0M0   xMX.  .XMd   .lo:.,dXMMMMMMXd,.:ol.   kMK.  'NMd   KMO
                   NMd   KMk   lMN.  .;:xOxollccddcclloxOx:;.  'WM:   OM0   xMX
                   WMo  .XMx   dMK   oNMMMMWOc;;ol;;cOWMMMMNo  .XMl   kMK   dMN
                   NMx   0MO   :Kd. .lllcl;.:0WMMMMW0:.;lclll. .xK;   0MO   kMX
 __          ___ ______ _   _____ _.:W0;,oxl:::oOOo:::lxo,;0W:   _   .ONo   KMk
 \ \        / (_|  ____(_) |  __ (_);cKMMMMWk:.;,.;kWMMMMKc;.   | |        .OX:
  \ \  /\  / / _| |__   _  | |__) _ _ __   ___  __ _ _ __  _ __ | | ___  NANO
   \ \/  \/ / | |  __| | | |  ___| | '_ \ / _ \/ _` | '_ \| '_ \| |/ _ \ 2.6.1 
    \  /\  /  | | |    | | | |   | | | | |  __| (_| | |_) | |_) | |  __/       
     \/  \/   |_|_|    |_| |_|   |_|_| |_|\___|\__,_| .__/| .__/|_|\___|   
     With OpenWRT 19.07                             | |   | |                  
     ------------------                             |_|   |_|                   
root@HP 4500 SERIES:~# wget https://github.com/adde88/openwrt-useful-tools/blob/packages-19.07/sslsplit_0.5.5-1_mips_24kc.ipk
--2019-10-19 05:30:06--  https://github.com/adde88/openwrt-useful-tools/blob/packages-19.07/sslsplit_0.5.5-1_mips_24kc.ipk
Resolving github.com... 140.82.113.4
Connecting to github.com|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'sslsplit_0.5.5-1_mips_24kc.ipk'

sslsplit_0.5.5-1_mips_24kc.ipk            [        <=>                                                             ]  62.35K  36.6KB/s    in 1.7s    

2019-10-19 05:30:09 (36.6 KB/s) - 'sslsplit_0.5.5-1_mips_24kc.ipk' saved [63845]

root@HP 4500 SERIES:~# ls
portals                         sslsplit_0.5.5-1_mips_24kc.ipk  vpn_config
root@HP 4500 SERIES:~# cd ..
root@HP 4500 SERIES:/# ls
bin            etc            mnt            pineapple      rom            sbin           sys            usr            www
dev            lib            overlay        proc           root           sd             tmp            var            www-getbackup
root@HP 4500 SERIES:/# ls sd
etc         lib         lost+found  modules     portals     tmp         usr
root@HP 4500 SERIES:/# ls modules
ls: modules: No such file or directory
root@HP 4500 SERIES:/# cd sd
root@HP 4500 SERIES:/sd# ls modules
APITokens          DWall              LEDController      OpenVPNConnect     SSLsplitgh         ettercap           urlsnarf
Cabinet            Deauth             Locate             Papers             SignalStrength     get                wps
Commander          EvilPortal         LogManager         PortalAuth         SiteSurvey         ngrep
ConnectedClients   HTTPProxy          MACInfo            RandomRoll         Status             nmap
CursedScreech      HackRF             Meterpreter        Responder          Themes             p0f
DNSMasqSpoof       InternetSpeedTest  Occupineapple      SSIDManager        autossh            tcpdump
DNSspoof           KeyManager         OnlineHashCrack    SSLsplit           base64encdec       tor
root@HP 4500 SERIES:/sd# cd SSLsplitgh
-ash: cd: can't cd to SSLsplitgh: No such file or directory
root@HP 4500 SERIES:/sd# ls
etc         lib         lost+found  modules     portals     tmp         usr
root@HP 4500 SERIES:/sd# cd modules/
root@HP 4500 SERIES:/sd/modules# ls
APITokens          DWall              LEDController      OpenVPNConnect     SSLsplitgh         ettercap           urlsnarf
Cabinet            Deauth             Locate             Papers             SignalStrength     get                wps
Commander          EvilPortal         LogManager         PortalAuth         SiteSurvey         ngrep
ConnectedClients   HTTPProxy          MACInfo            RandomRoll         Status             nmap
CursedScreech      HackRF             Meterpreter        Responder          Themes             p0f
DNSMasqSpoof       InternetSpeedTest  Occupineapple      SSIDManager        autossh            tcpdump
DNSspoof           KeyManager         OnlineHashCrack    SSLsplit           base64encdec       tor
root@HP 4500 SERIES:/sd/modules# cd SSLsplitgh/
root@HP 4500 SERIES:/sd/modules/SSLsplitgh# ls
root@HP 4500 SERIES:/sd/modules/SSLsplitgh# ls
root@HP 4500 SERIES:/sd/modules/SSLsplitgh# cd /
root@HP 4500 SERIES:/# ls
bin            etc            mnt            pineapple      rom            sbin           sys            usr            www
dev            lib            overlay        proc           root           sd             tmp            var            www-getbackup
root@HP 4500 SERIES:/# ls
bin            etc            mnt            pineapple      rom            sbin           sys            usr            www
dev            lib            overlay        proc           root           sd             tmp            var            www-getbackup
root@HP 4500 SERIES:/# ls root
portals                         sslsplit_0.5.5-1_mips_24kc.ipk  vpn_config
root@HP 4500 SERIES:/# cd root
root@HP 4500 SERIES:~# opkg update ; opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Segmentation fault
root@HP 4500 SERIES:~# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Segmentation fault
root@HP 4500 SERIES:~# 
root@HP 4500 SERIES:~#   
root@HP 4500 SERIES:~# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Segmentation fault
root@HP 4500 SERIES:~# 
root@HP 4500 SERIES:~#   ls
portals                         sslsplit_0.5.5-1_mips_24kc.ipk  vpn_config
root@HP 4500 SERIES:~# opkg -h
opkg: unrecognized option: h
opkg must have one sub-command argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:~# ls
portals                         sslsplit_0.5.5-1_mips_24kc.ipk  vpn_config
root@HP 4500 SERIES:~# cd /
root@HP 4500 SERIES:/# ls
bin            etc            mnt            pineapple      rom            sbin           sys            usr            www
dev            lib            overlay        proc           root           sd             tmp            var            www-getbackup
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /root/sd
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/root/sd'.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/sd'.
root@HP 4500 SERIES:/# ls
bin            etc            mnt            pineapple      rom            sbin           sys            usr            www
dev            lib            overlay        proc           root           sd             tmp            var            www-getbackup
root@HP 4500 SERIES:/# cd root
root@HP 4500 SERIES:~# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/sd'.
root@HP 4500 SERIES:~# ls
portals                         sslsplit_0.5.5-1_mips_24kc.ipk  vpn_config
root@HP 4500 SERIES:~# mv -h
mv: unrecognized option: h
BusyBox v1.30.1 () multi-call binary.

Usage: mv [-fin] SOURCE DEST
or: mv [-fin] SOURCE... DIRECTORY

Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

	-f	Don't prompt before overwriting
	-i	Interactive, prompt before overwrite
	-n	Don't overwrite an existing file
root@HP 4500 SERIES:~# mv opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
mv: unrecognized option: d
BusyBox v1.30.1 () multi-call binary.

Usage: mv [-fin] SOURCE DEST
or: mv [-fin] SOURCE... DIRECTORY

Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

	-f	Don't prompt before overwriting
	-i	Interactive, prompt before overwrite
	-n	Don't overwrite an existing file
root@HP 4500 SERIES:~# 
root@HP 4500 SERIES:~#   opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:~# 
root@HP 4500 SERIES:~# mv sslsplit_0.5.5-1_mips_24kc.ipk /sd
root@HP 4500 SERIES:~# cd /sd
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# mv sslsplit_0.5.5-1_mips_24kc.ipk /sd
root@HP 4500 SERIES:/sd#   opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/sd'.
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d 
opkg: option requires an argument: d
opkg must have one sub-command argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# opkg -h
opkg: unrecognized option: h
opkg must have one sub-command argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/sd# opkg configure sslsplit_0.5.5-1_mips_24kc.ipk 
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk 
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# opkg make sslsplit_0.5.5-1_mips_24kc.ipk 
opkg: unknown sub-command make
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/sd# opkg update
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# opkg configure sslsplit_0.5.5-1_mips_24kc.ipk 
root@HP 4500 SERIES:/sd# opkg configure install sslsplit_0.5.5-1_mips_24kc.ipk 
root@HP 4500 SERIES:/sd# opkg make install sslsplit_0.5.5-1_mips_24kc.ipk 
opkg: unknown sub-command make
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk 
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# opkg upgrade
opkg: the ``upgrade'' command requires at least one argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/sd# opkg upgrade --force-depends
opkg: the ``upgrade'' command requires at least one argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/sd# cd..
-ash: cd..: not found
root@HP 4500 SERIES:/sd# cd..
-ash: cd..: not found
root@HP 4500 SERIES:/sd# cd..
-ash: cd..: not found
root@HP 4500 SERIES:/sd# cd ..
root@HP 4500 SERIES:/# cd ..
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk 
Collected errors:
 * wfopen: sslsplit_0.5.5-1_mips_24kc.ipk: No such file or directory.
 * pkg_init_from_file: Failed to extract control file from sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * wfopen: sslsplit_0.5.5-1_mips_24kc.ipk: No such file or directory.
 * pkg_init_from_file: Failed to extract control file from sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# wget https://github.com/adde88/openwrt-useful-tools/blob/packages-19.07/sslsplit_0.5.5-1_mips_24kc.ipk
--2019-10-19 05:49:34--  https://github.com/adde88/openwrt-useful-tools/blob/packages-19.07/sslsplit_0.5.5-1_mips_24kc.ipk
Resolving github.com... 140.82.113.4
Connecting to github.com|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'sslsplit_0.5.5-1_mips_24kc.ipk'

sslsplit_0.5.5-1_mips_24kc.ipk            [      <=>                                                               ]  62.37K  49.8KB/s    in 1.3s    

2019-10-19 05:49:36 (49.8 KB/s) - 'sslsplit_0.5.5-1_mips_24kc.ipk' saved [63867]

root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/sd'.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd/
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/sd/'.
root@HP 4500 SERIES:/# ls
bin                             overlay                         sbin                            usr
dev                             pineapple                       sd                              var
etc                             proc                            sslsplit_0.5.5-1_mips_24kc.ipk  www
lib                             rom                             sys                             www-getbackup
mnt                             root                            tmp
root@HP 4500 SERIES:/# ls sd
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd/
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `sd/'.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg configure sslsplit_0.5.5-1_mips_24kc.ipk -d sd
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg make sslsplit_0.5.5-1_mips_24kc.ipk -d sd
opkg: unknown sub-command make
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/# opkg configure install sslsplit_0.5.5-1_mips_24kc.ipk
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg configure install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# 
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg update
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
root@HP 4500 SERIES:/# cd..
-ash: cd..: not found
root@HP 4500 SERIES:/# cd ..
root@HP 4500 SERIES:/# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# 
root@HP 4500 SERIES:/# opkg install zlib
Package zlib (1.2.11-3) installed in root is up to date.
root@HP 4500 SERIES:/# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd/S
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `sd/S'.
root@HP 4500 SERIES:/# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd/S
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/sd/S'.
root@HP 4500 SERIES:/# 
root@HP 4500 SERIES:/# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/'.
root@HP 4500 SERIES:/# ls
bin                             overlay                         sbin                            usr
dev                             pineapple                       sd                              var
etc                             proc                            sslsplit_0.5.5-1_mips_24kc.ipk  www
lib                             rom                             sys                             www-getbackup
mnt                             root                            tmp
root@HP 4500 SERIES:/# ls root
portals     vpn_config
root@HP 4500 SERIES:/# cd sd
root@HP 4500 SERIES:/sd# ;s
-ash: syntax error: unexpected ";"
root@HP 4500 SERIES:/sd# ls
-ash: sls: not found
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# opkg configure install sslsplit_0.5.5-1_mips_24kc.ipk
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# opkg make install sslsplit_0.5.5-1_mips_24kc.ipk
opkg: unknown sub-command make
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/sd# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/'.
root@HP 4500 SERIES:/sd# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /root/sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `/root/sd'.
root@HP 4500 SERIES:/sd# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/sd# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d ./sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `./sd'.
root@HP 4500 SERIES:/sd# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d ./
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * resolve_pkg_dest_list: Unknown dest name: `./'.
root@HP 4500 SERIES:/sd# bsdtar -tf sslsplit_0.5.5-1_mips_24kc.ipk
-ash: bsdtar: not found
root@HP 4500 SERIES:/sd# cd ..
root@HP 4500 SERIES:/# ls
bin                             overlay                         sbin                            usr
dev                             pineapple                       sd                              var
etc                             proc                            sslsplit_0.5.5-1_mips_24kc.ipk  www
lib                             rom                             sys                             www-getbackup
mnt                             root                            tmp
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc
Unknown package 'sslsplit_0.5.5-1_mips_24kc'.
Collected errors:
 * opkg_install_cmd: Cannot install package sslsplit_0.5.5-1_mips_24kc.
root@HP 4500 SERIES:/# opkg configure sslsplit_0.5.5-1_mips_24kc
root@HP 4500 SERIES:/# opkg configure install sslsplit_0.5.5-1_mips_24kc
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc
Unknown package 'sslsplit_0.5.5-1_mips_24kc'.
Collected errors:
 * opkg_install_cmd: Cannot install package sslsplit_0.5.5-1_mips_24kc.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# ls
bin                             overlay                         sbin                            usr
dev                             pineapple                       sd                              var
etc                             proc                            sslsplit_0.5.5-1_mips_24kc.ipk  www
lib                             rom                             sys                             www-getbackup
mnt                             root                            tmp
root@HP 4500 SERIES:/# 
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.opk
Collected errors:
 * wfopen: sslsplit_0.5.5-1_mips_24kc.opk: No such file or directory.
 * pkg_init_from_file: Failed to extract control file from sslsplit_0.5.5-1_mips_24kc.opk.
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg -h
opkg: unrecognized option: h
opkg must have one sub-command argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d <sd>
-ash: syntax error: unexpected newline
root@HP 4500 SERIES:/# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d </sd>
-ash: syntax error: unexpected newline
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d </>
-ash: syntax error: unexpected newline
root@HP 4500 SERIES:/# opkg install sslsplit_0.5.5-1_mips_24kc.ipk -A
Collected errors:
 * pkg_init_from_file: Malformed package file sslsplit_0.5.5-1_mips_24kc.ipk.
root@HP 4500 SERIES:/# opkg upgrade all
Unknown package 'all'.
root@HP 4500 SERIES:/# opkg upgrade SSLstrip
Unknown package 'SSLstrip'.
root@HP 4500 SERIES:/# opkg install SSLstrip
Unknown package 'SSLstrip'.
Collected errors:
 * opkg_install_cmd: Cannot install package SSLstrip.
root@HP 4500 SERIES:/# opkg -v install SSLstrip
opkg version dcbc142e51f5f5f2fb9e4e44657e013d3c36a52b (2019-06-14)
root@HP 4500 SERIES:/# opkg install SSLstrip -v
opkg version dcbc142e51f5f5f2fb9e4e44657e013d3c36a52b (2019-06-14)
root@HP 4500 SERIES:/# opkg install SSLstrip -V
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_status_files: 
pkg_info_preinstall_check: Updating file owner list.
Unknown package 'SSLstrip'.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Collected errors:
 * opkg_install_cmd: Cannot install package SSLstrip.
root@HP 4500 SERIES:/# ls
bin                             overlay                         sbin                            usr
dev                             pineapple                       sd                              var
etc                             proc                            sslsplit_0.5.5-1_mips_24kc.ipk  www
lib                             rom                             sys                             www-getbackup
mnt                             root                            tmp
root@HP 4500 SERIES:/# cd sd
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# ls
etc                             lost+found                      portals                         tmp
lib                             modules                         sslsplit_0.5.5-1_mips_24kc.ipk  usr
root@HP 4500 SERIES:/sd# opkg install SSLstrip -v
opkg version dcbc142e51f5f5f2fb9e4e44657e013d3c36a52b (2019-06-14)
root@HP 4500 SERIES:/sd# opkg install SSLstrip -V
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_status_files: 
pkg_info_preinstall_check: Updating file owner list.
Unknown package 'SSLstrip'.
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Collected errors:
 * opkg_install_cmd: Cannot install package SSLstrip.
root@HP 4500 SERIES:/sd# cd ..
root@HP 4500 SERIES:/# wget https://github.com/adde88/openwrt-useful-tools.git
--2019-10-19 06:21:56--  https://github.com/adde88/openwrt-useful-tools.git
Resolving github.com... 140.82.114.3
Connecting to github.com|140.82.114.3|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/adde88/openwrt-useful-tools [following]
--2019-10-19 06:21:56--  https://github.com/adde88/openwrt-useful-tools
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'openwrt-useful-tools.git'

openwrt-useful-tools.git                  [          <=>                                                           ]  94.48K  43.0KB/s    in 2.2s    

2019-10-19 06:21:59 (43.0 KB/s) - 'openwrt-useful-tools.git' saved [96748]

root@HP 4500 SERIES:/# ls
bin                             openwrt-useful-tools.git        root                            tmp
dev                             overlay                         sbin                            usr
etc                             pineapple                       sd                              var
lib                             proc                            sslsplit_0.5.5-1_mips_24kc.ipk  www
mnt                             rom                             sys                             www-getbackup
root@HP 4500 SERIES:/# opkg install openwrt-useful-tools.git 
Unknown package 'openwrt-useful-tools.git'.
Collected errors:
 * opkg_install_cmd: Cannot install package openwrt-useful-tools.git.
root@HP 4500 SERIES:/# **```/etc/opkg/customfeeds.conf```**
-ash: /etc/opkg/customfeeds.conf: Permission denied
-ash: bin: not found
root@HP 4500 SERIES:/# sudo opkg install sslsplit_0.5.5-1_mips_24kc.ipk
-ash: sudo: not found
root@HP 4500 SERIES:/# sudo opkg sslsplit_0.5.5-1_mips_24kc.ipk
-ash: sudo: not found
root@HP 4500 SERIES:/# su
-ash: su: not found
root@HP 4500 SERIES:/# cd etc
root@HP 4500 SERIES:/etc# ls
TZ                    ethers                localtime             passwd                rc.button             sysctl.d
banner                firewall.user         modules-boot.d        php.ini               rc.common             sysupgrade.conf
banner.failsafe       fstab                 modules.d             php7                  rc.d                  tor
board.d               group                 mtab                  php7-fpm.conf         rc.local              uci-defaults
board.json            hosts                 nginx                 php7-fpm.d            resolv.conf           urandom.seed
config                hotplug-preinit.json  openwrt_release       pineape               services              usb-mode.json
crontabs              hotplug.d             openwrt_version       pineapple             shadow
device_info           hotplug.json          opkg                  ppp                   shells
diag.sh               init.d                opkg.conf             preinit               ssh
dnsmasq.conf          inittab               os-release            profile               ssl
e2fsck.conf           iproute2              p0f                   protocols             sysctl.conf
root@HP 4500 SERIES:/etc# cd opkg/
root@HP 4500 SERIES:/etc/opkg# ls
customfeeds.conf  distfeeds.conf    keys
root@HP 4500 SERIES:/etc/opkg# vim customfeeds.conf 
root@HP 4500 SERIES:/etc/opkg# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d </sd>
-ash: syntax error: unexpected newline
root@HP 4500 SERIES:/etc/opkg# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz
*** Failed to download the package list from http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz

Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * opkg_conf_parse_file: /etc/opkg/customfeeds.conf:4: Ignoring invalid line: ````'
 * opkg_conf_parse_file: /etc/opkg/customfeeds.conf:7: Ignoring invalid line: ````'
 * opkg_download: Failed to download http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

root@HP 4500 SERIES:/etc/opkg# vim customfeeds.conf 
root@HP 4500 SERIES:/etc/opkg# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz
*** Failed to download the package list from http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz

Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * opkg_download: Failed to download http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

root@HP 4500 SERIES:/etc/opkg# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz
*** Failed to download the package list from http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz

Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * opkg_download: Failed to download http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

root@HP 4500 SERIES:/etc/opkg# opkg update && opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d /sd
Downloading https://downloads.hak5.org/packages/mk6/1907/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_pineapple
Downloading http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz
*** Failed to download the package list from http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz

Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_base
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_packages
Downloading https://downloads.openwrt.org/releases/packages-19.07/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/1907_routing
Collected errors:
 * opkg_download: Failed to download http://adde88.asuscomm.com:1080/packages/mips_24kc/custom/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

root@HP 4500 SERIES:/etc/opkg# opkg upgrade
opkg: the ``upgrade'' command requires at least one argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/etc/opkg# opkg upgrade --force-depends
opkg: the ``upgrade'' command requires at least one argument
usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:

Package Manipulation:
	update			Update list of available packages
	upgrade <pkgs>		Upgrade packages
	install <pkgs>		Install package(s)
	configure <pkgs>	Configure unpacked package(s)
	remove <pkgs|regexp>	Remove package(s)
	flag <flag> <pkgs>	Flag package(s)
	 <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)

Informational Commands:
	list			List available packages
	list-installed		List installed packages
	list-upgradable		List installed and upgradable packages
	list-changed-conffiles	List user modified configuration files
	files <pkg>		List files belonging to <pkg>
	search <file|regexp>	List package providing <file>
	find <regexp>		List packages whose name or description matches <regexp>
	info [pkg|regexp]	Display all info for <pkg>
	status [pkg|regexp]	Display all status for <pkg>
	download <pkg>		Download <pkg> to current directory
	compare-versions <v1> <op> <v2>
	                    compare versions using <= < > >= = << >>
	print-architecture	List installable package architectures
	depends [-A] [pkgname|pat]+
	whatdepends [-A] [pkgname|pat]+
	whatdependsrec [-A] [pkgname|pat]+
	whatrecommends[-A] [pkgname|pat]+
	whatsuggests[-A] [pkgname|pat]+
	whatprovides [-A] [pkgname|pat]+
	whatconflicts [-A] [pkgname|pat]+
	whatreplaces [-A] [pkgname|pat]+

Options:
	-A			Query all packages not just those installed
	-V[<level>]		Set verbosity level to <level>.
	--verbosity[=<level>]	Verbosity levels:
					0 errors only
					1 normal messages (default)
					2 informative messages
					3 debug
					4 debug level 2
	-f <conf_file>		Use <conf_file> as the opkg configuration file
	--conf <conf_file>
	--cache <directory>	Use a package cache
	-d <dest_name>		Use <dest_name> as the the root directory for
	--dest <dest_name>	package installation, removal, upgrading.
				<dest_name> should be a defined dest name from
				the configuration file, (but can also be a
				directory name in a pinch).
	-o <dir>		Use <dir> as the root directory for
	--offline-root <dir>	offline installation of packages.
	--add-arch <arch>:<prio>	Register architecture with given priority
	--add-dest <name>:<path>	Register destination with given path

Force Options:
	--force-depends		Install/remove despite failed dependencies
	--force-maintainer	Overwrite preexisting config files
	--force-reinstall	Reinstall package(s)
	--force-overwrite	Overwrite files from other package(s)
	--force-downgrade	Allow opkg to downgrade packages
	--force-space		Disable free space checks
	--force-postinstall	Run postinstall scripts even in offline mode
	--force-remove	Remove package even if prerm script fails
	--force-checksum	Don't fail on checksum mismatches
	--no-check-certificate Don't validate SSL certificates
	--noaction		No action -- test only
	--download-only	No action -- download only
	--nodeps		Do not follow dependencies
	--nocase		Perform case insensitive pattern matching
	--size			Print package size when listing available packages
	--force-removal-of-dependent-packages
				Remove package and all dependencies
	--autoremove		Remove packages that were installed
				automatically to satisfy dependencies
	-t			Specify tmp-dir.
	--tmp-dir		Specify tmp-dir.
	-l			Specify lists-dir.
	--lists-dir		Specify lists-dir.

 regexp could be something like 'pkgname*' '*file*' or similar
 e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
root@HP 4500 SERIES:/etc/opkg# vim customfeeds.conf 
root@HP 4500 SERIES:/etc/opkg# 

 

Link to comment
Share on other sites

IDK maybe im just on that tired asf and retard feeling atm? Excuse my tone or perceived tones, but nothing makes me more twisted than replies that do nothing but give vague responses to others, whom are clearly trying to learn. Some persons, whom also clearly show their English isnt as up to par as others.

Link to comment
Share on other sites

I'm not trying to be vague. I simply don't want to be hold responsible for people bricking their devices.
 

  1. Download/transfer the IPK-file from my repo to your Pineapple. SSH/SCP/wget, whatever works best for you.
  2. SSH to the Pineapple and run the command below within the same directory you downloaded/transferred the file to.
    opkg update ; opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd

 

 

There's no prerequisites, except having an active internet connection on the Pineapple while installing.

This is not a part of the official module which you can download on the Pineapple, but you should be able to use the module with this package.

When i get time, i'll create a fork of the official Module, so that people not experienced with this stuff can use it to setup everything via the Module GUI.

 

Link to comment
Share on other sites

On 10/19/2019 at 8:42 AM, nickelz34 said:

IDK maybe im just on that tired asf and retard feeling atm? Excuse my tone or perceived tones, but nothing makes me more twisted than replies that do nothing but give vague responses to others, whom are clearly trying to learn. Some persons, whom also clearly show their English isnt as up to par as others.

@Zylla response is understandable.  The process of doing so can cause issues if done wrong that could brick the device.  Someone not comfortable in a Linux environment should probably do a little research prior to trying the method to hopefully prevent a problem.  

Nothing mean was said to any user.   Some steps required are already documented like how to SSH into the pineapple:  https://docs.hak5.org/hc/en-us/articles/360010471514-Secure-Shell  and how to transfer files to the pineapple via command line: https://docs.hak5.org/hc/en-us/articles/360025819673-Manual-Firmware-Installation

I'm sure other users will appreciate your detailed post.  When a video or write up detailing the install process does not already exist it is not denying anyone of information.  I'm sure any questions arose from someone attempting the process would be answered by a willing to help member!

 

Link to comment
Share on other sites

On 10/19/2019 at 5:45 PM, Zylla said:

I'm not trying to be vague. I simply don't want to be hold responsible for people bricking their devices.
 

  1. Download/transfer the IPK-file from my repo to your Pineapple. SSH/SCP/wget, whatever works best for you.
  2. SSH to the Pineapple and run the command below within the same directory you downloaded/transferred the file to.
    
    opkg update ; opkg install sslsplit_0.5.5-1_mips_24kc.ipk -d sd

 

 

There's no prerequisites, except having an active internet connection on the Pineapple while installing.

This is not a part of the official module which you can download on the Pineapple, but you should be able to use the module with this package.

When i get time, i'll create a fork of the official Module, so that people not experienced with this stuff can use it to setup everything via the Module GUI.

 

does this mean that is will come up on this page because i need this module for a school project 

❤️ in regards thomas 

hoi.JPG

Link to comment
Share on other sites

1 hour ago, Thomaatje said:

does this mean that is will come up on this page because i need this module for a school project 

❤️ in regards thomas 

hoi.JPG

No. Such a module i mentioned would need to be installed manually.

But that process is not very hard, and a tutorial will be written. 

I'm currently working on the modified module. Hoping to have it ready tonight. 

Link to comment
Share on other sites

4 hours ago, Zylla said:

No. Such a module i mentioned would need to be installed manually.

But that process is not very hard, and a tutorial will be written. 

I'm currently working on the modified module. Hoping to have it ready tonight. 

As soon as it is released I will give it a try.  Thanks for all the work on the module.

Link to comment
Share on other sites

I've released a fork of SSLsplit on my GitHub page: https://github.com/adde88/SSLSplitNG
I'll update the first post here, and write a detailed instruction on howto install it as well.

Basically just copy the contents of the repo to /pineapple/modules/SSLsplitNG
I recommend using git, or tar, to preserve the file permissions.

It's basically a modified version of SSLsplit, that downloads the package from my repo, and works on FW > 2.6.0

Please post any issues here or on the github page.  

Link to comment
Share on other sites

keep getting a

404

link doesn't seem to work

to github

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...