[arch-commits] Commit in routersploit/trunk (PKGBUILD)
Date: Friday, November 20, 2020 @ 10:45:38 Author: felixonmars Revision: 757890 upgpkg: routersploit 3.4.0-4: Python 3.9 rebuild Modified: routersploit/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-20 10:35:39 UTC (rev 757889) +++ PKGBUILD2020-11-20 10:45:38 UTC (rev 757890) @@ -3,7 +3,7 @@ pkgname=routersploit pkgver=3.4.0 -pkgrel=3 +pkgrel=4 pkgdesc='Open-source exploitation framework dedicated to embedded devices' url='https://github.com/threat9/routersploit' arch=('any')
[arch-commits] Commit in routersploit/trunk (PKGBUILD)
Date: Friday, November 20, 2020 @ 10:35:39 Author: foutrelis Revision: 757889 Fix tests with Python 3.9 Also ignore 3 tests that also fail on Python 3.8. Modified: routersploit/trunk/PKGBUILD --+ PKGBUILD | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-20 05:55:34 UTC (rev 757888) +++ PKGBUILD2020-11-20 10:35:39 UTC (rev 757889) @@ -10,17 +10,27 @@ license=('BSD') depends=('python' 'python-future' 'python-requests' 'python-paramiko' 'python-pysnmp' 'python-pycryptodome') checkdepends=('python-pytest' 'python-pytest-forked' 'python-pytest-xdist' 'flake8' 'python-threat9-test-bed') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/threat9/routersploit/archive/v${pkgver}.tar.gz) -sha512sums=('9182598105c4d1c971dc63ac24059469dd1862af204f59994cfc85012091663a85faee4c7c04cce573eef1fa91525b44a3963b8c24460d3b31595c4ef6a6c4e5') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/threat9/routersploit/archive/v${pkgver}.tar.gz + ${pkgname}-py38.patch::https://github.com/threat9/routersploit/commit/47183c74a49f.patch + ${pkgname}-py39.patch::https://github.com/threat9/routersploit/commit/8c4bc6f79ed6.patch) +sha512sums=('9182598105c4d1c971dc63ac24059469dd1862af204f59994cfc85012091663a85faee4c7c04cce573eef1fa91525b44a3963b8c24460d3b31595c4ef6a6c4e5' + 'aaa6c84f4ce1874b0d389a75bfeec370ff6b5b3d078756556caad2a4f8b5219912f879c0e38637fa37e613f07001768b66a225cfdc4a92336eaecf5e5a38f9be' + '81e376e545acd1a1b00bc00f504d031b99709d4fa5076cca2d72866627b597290b2561a3729d88e92e389e2ef30df903bc53f9522cbfaeb9b6a303f020e0d2f4') prepare() { cd $pkgname-$pkgver - sed -i 's/iteritems(attrs)/iteritems(attrs.copy())/' routersploit/core/exploit/exploit.py + patch -Np1 -i ../${pkgname}-py38.patch + patch -Np1 -i ../${pkgname}-py39.patch + + # Remove failing tests + rm tests/exploits/misc/miele/test_pg8528_path_traversal.py + rm tests/exploits/cameras/xiongmai/test_uc_httpd_path_traversal.py + rm tests/exploits/routers/dlink/test_dns_320l_327l_rce.py + rm tests/exploits/routers/tplink/test_wdr740nd_wdr740n_path_traversal.py } check() { cd ${pkgname}-${pkgver} - rm tests/exploits/routers/dlink/test_dns_320l_327l_rce.py make tests }
[arch-commits] Commit in routersploit/trunk (PKGBUILD)
Date: Sunday, November 10, 2019 @ 08:41:42 Author: foutrelis Revision: 524938 Python 3.8 rebuild Modified: routersploit/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-10 08:31:24 UTC (rev 524937) +++ PKGBUILD2019-11-10 08:41:42 UTC (rev 524938) @@ -3,7 +3,7 @@ pkgname=routersploit pkgver=3.4.0 -pkgrel=2 +pkgrel=3 pkgdesc='Open-source exploitation framework dedicated to embedded devices' url='https://github.com/threat9/routersploit' arch=('any')
[arch-commits] Commit in routersploit/trunk (PKGBUILD)
Date: Sunday, November 10, 2019 @ 06:50:19 Author: felixonmars Revision: 524928 add workaround for python 3.8 (https://github.com/threat9/routersploit/pull/626) Modified: routersploit/trunk/PKGBUILD --+ PKGBUILD |5 + 1 file changed, 5 insertions(+) Modified: PKGBUILD === --- PKGBUILD2019-11-10 06:39:44 UTC (rev 524927) +++ PKGBUILD2019-11-10 06:50:19 UTC (rev 524928) @@ -13,6 +13,11 @@ source=(${pkgname}-${pkgver}.tar.gz::https://github.com/threat9/routersploit/archive/v${pkgver}.tar.gz) sha512sums=('9182598105c4d1c971dc63ac24059469dd1862af204f59994cfc85012091663a85faee4c7c04cce573eef1fa91525b44a3963b8c24460d3b31595c4ef6a6c4e5') +prepare() { + cd $pkgname-$pkgver + sed -i 's/iteritems(attrs)/iteritems(attrs.copy())/' routersploit/core/exploit/exploit.py +} + check() { cd ${pkgname}-${pkgver} rm tests/exploits/routers/dlink/test_dns_320l_327l_rce.py