Code Monkey home page Code Monkey logo

termux-root-packages's Introduction

ARCHIVED

Packages from root-repo are now maintained along with the main repo in https://github.com/termux/termux-packages in a git monorep

Termux root packages

Last build status

Powered by FossHost

This repository contains packages that are only useful for rooted users.

Contributing

Information on how to open pull requests to help keep the packages here up to date can be read in CONTRIBUTING.md

Building a package

To build a package, first clone termux-root-packages and cd into the new directory

git clone https://github.com/termux/termux-root-packages
cd termux-root-packages

If you want to build a package with the docker container run

./start-builder.sh ./build-package.sh name-of-package

You might have to run the command as root, if you have not configured docker to be run as your user.

To build outside the docker container you can run

git submodule update --init
./termux-packages/build-package.sh ../packages/package-to-build)

../ is needed since termux-packages/build-package.sh expects the path given (packages/package-to-build) to be relative to the position to the build-package.sh script.

Subscribing to the repository

To install packages from this repository, you first need to subscribe to it with:

pkg install root-repo

termux-root-packages's People

Contributors

araczkowski avatar auxilus avatar bndeff avatar ddosolitary avatar drygdryg avatar fornwall avatar freddieoliveira avatar gcla avatar grimler91 avatar hax4us avatar infamix avatar landfillbaby avatar martinvlba avatar maxython avatar neo-oli avatar oldilo avatar rudloff avatar s00se avatar sirherobrine23 avatar tacothedank avatar thunder-coding avatar vishalbiswas avatar vmiliantsei avatar wetitpig avatar xtkoba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

termux-root-packages's Issues

Sniffers do not work on Termux

Could you solve the problem associated with sniffers?
Earlier I wrote about this here add package wireless-tools
So much time has passed but the problem is still not solved.
The problem is that..

After launching sudo bettercap -X the program opens, but if the attacking browser goes to any site, then the sites do not load.

I tried another Xerosploit for Termux Same problem.

But in proot debian, there is no such problem.
Simply in the thermalus, there are already iw, wireles-tools, iptables..
So why sniffing does not work ?

tshark outputting nothing

Hello, when I'm trying to scan my network to do some penetration testing via tshark, it doesn't work. It outputs nothing and just gives me back my shell. It doesn't give me the help message either. I hope you can help fix this. Thank you.
Oh and this is my termux-info:
Updatable packages:
All packages up to date
Subscribed repositories:
https://dl.bintray.com/xeffyr/x11-packages-21 x11/main
https://dl.bintray.com/xeffyr/unstable-packages-21 unstable/main
https://dl.bintray.com/grimler/science-packages-21 science/stable
https://dl.bintray.com/grimler/termux-root-packages-21 root/stable
https://dl.bintray.com/grimler/game-packages-21 games/stable
https://termux.net stable/main
https://termux.net stable/main
System information:
Linux localhost 3.10.72 #1 SMP PREEMPT Tue Feb 16 18:23:49 CST 2016 armv7l Android
Termux-packages arch:
arm
Android version:
5.1
Device manufacturer:
Lenovo
Device model:
Lenovo TB3-710I
20190709_141910

package request: fusermount

Package is required for rclone mount to function correctly, which is already a termux package. It also helps expand the termux package universe by allowing other packages to be utilized and installed, like termux/termux-packages#10192

Package description
fusermount is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel

Link to home page and sources

  1. Home page: https://github.com/libfuse/libfuse
  2. Source code:
    https://github.com/LineageOS/android_external_fuse/tree/cm-14.1
    https://github.com/refi64/zdata/blob/master/fs/jni/fusermount.mk

Additional information
Have you compiled or tried to compile the package on device?
Compiled here, works great, just hoping we can bring it to the mainline repository for termux: https://forum.xda-developers.com/android/development/fusermount-android-rclone-mount-t3866652

Package request: wpa_supplicant

Package description
wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.

Link to home page and sources

  1. Home page: https://www.w1.fi/wpa_supplicant/
  2. Source code: latest: https://www.w1.fi/releases/wpa_supplicant-2.9.tar.gz

Additional information
Estimated requirements: openssl openssl-static dbus dbus-glib dbus-glib-static dbus-static readline readline-static ncurses ncurses-static libnl libnl-static

I tried to compile wpa_supplicant 2.9 on device by following commands:
pkg install wget build-essential pkg-config openssl openssl-static dbus dbus-glib dbus-glib-static dbus-static readline readline-static ncurses ncurses-static libnl libnl-static
wget https://www.w1.fi/releases/wpa_supplicant-2.9.tar.gz && tar xvf wpa_supplicant-2.9.tar.gz
cd wpa_supplicant-2.9/wpa_supplicant/
cp defconfig .config
make
But got the following error (full build log: https://pastebin.com/rr1fG1Zk):

In file included from ../src/drivers/driver_wext.c:28:
../src/drivers/priv_netlink.h:76:8: error: redefinition of 'sockaddr_nl'
struct sockaddr_nl
^
/data/data/com.termux/files/usr/include/linux/netlink.h:48:8: note: previous definition is here
struct sockaddr_nl {
^
In file included from ../src/drivers/driver_wext.c:28:
../src/drivers/priv_netlink.h:84:8: error: redefinition of 'nlmsghdr'
struct nlmsghdr
^
/data/data/com.termux/files/usr/include/linux/netlink.h:54:8: note: previous definition is here
struct nlmsghdr {
^

Cryptsetup segfaults

Hi, just got a new phone so I have all kinds of new problems

Problem description
Cryptsetup is segfaulting when trying to open or create a LUKS encrypted device

Steps to reproduce
To create a new encrypted device

$ tsudo cryptsetup luksFormat /dev/block/vold/public\:8_1

or to open a previously encrypted one

$ tsudo cryptsetup open /dev/block/vold/public\:179_65

both result in a segfault.
Here's the logcat output about this

02-09 00:33:25.875   248   252 D vold    : Disk at 254:15 changed
02-09 00:33:25.877  9405  9405 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xbe419ff4 in tid 9405 (cryptsetup), pid 9405 (cryptsetup)
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 37: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 38: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 39: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 40: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 41: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 42: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 43: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 44: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 45: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 46: Invalid argument
02-09 00:33:25.887  9415  9415 E libc    : failed to raise ambient capability 47: Invalid argument
02-09 00:33:25.889  9415  9415 E libc    : failed to raise ambient capability 48: Invalid argument
02-09 00:33:25.889  9415  9415 E libc    : failed to raise ambient capability 49: Invalid argument
02-09 00:33:25.889  9415  9415 E libc    : failed to raise ambient capability 50: Invalid argument
02-09 00:33:25.889  9415  9415 E libc    : failed to raise ambient capability 51: Invalid argument
02-09 00:33:25.889  9415  9415 E libc    : failed to raise ambient capability 52: Invalid argument
02-09 00:33:25.889  9415  9415 E libc    : failed to raise ambient capability 53: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 54: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 55: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 56: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 57: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 58: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 59: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 60: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 61: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 62: Invalid argument
02-09 00:33:25.890  9415  9415 E libc    : failed to raise ambient capability 63: Invalid argument
02-09 00:33:25.919  9416  9416 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
02-09 00:33:25.919   504   504 I /system/bin/tombstoned: received crash request for pid 9405
02-09 00:33:25.920  9416  9416 I crash_dump32: performing dump of process 9405 (target tid = 9405)
02-09 00:33:25.920  9405  9405 F libc    : failed to resend signal during crash: Operation not permitted
02-09 00:33:25.946  9401  9401 D su      : pid 9402 returned 256.
02-09 00:33:25.946  9401  9401 D su      : Finishing su operation for app [uid:10084, pkgName: com.termux.api]
02-09 00:33:25.947   694  1387 E ActivityManager: Sending non-protected broadcast android.intent.action.SU_SESSION_CHANGED from system 694:system/1000 pkg android
02-09 00:33:25.947   694  1387 E ActivityManager: java.lang.Throwable
02-09 00:33:25.947   694  1387 E ActivityManager:       at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19170)
02-09 00:33:25.947   694  1387 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19682)
02-09 00:33:25.947   694  1387 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:19917)
02-09 00:33:25.947   694  1387 E ActivityManager:       at android.app.ContextImpl.sendBroadcastAsUser(ContextImpl.java:1130)
02-09 00:33:25.947   694  1387 E ActivityManager:       at com.android.server.AppOpsService$2.run(AppOpsService.java:143)
02-09 00:33:25.947   694  1387 E ActivityManager:       at android.os.Handler.handleCallback(Handler.java:790)
02-09 00:33:25.947   694  1387 E ActivityManager:       at android.os.Handler.dispatchMessage(Handler.java:99)
02-09 00:33:25.947   694  1387 E ActivityManager:       at android.os.Looper.loop(Looper.java:164)
02-09 00:33:25.947   694  1387 E ActivityManager:       at android.os.HandlerThread.run(HandlerThread.java:65)
02-09 00:33:25.947   694  1387 E ActivityManager:       at com.android.server.ServiceThread.run(ServiceThread.java:46)
02-09 00:33:25.948  9401  9401 W IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
02-09 00:33:25.948  9401  9401 W IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
02-09 00:33:25.950  9398  9398 D su      : sending code
02-09 00:33:25.950  9398  9398 D su      : child exited
02-09 00:33:25.951  9395  9395 D su      : client exited 1
02-09 00:33:25.955   504   504 W /system/bin/tombstoned: crash socket received short read of length 0 (expected 12)
02-09 00:33:25.875   248   252 D vold    : Disk at 254:15 changed
02-09 00:33:25.956   694  1605 I BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
02-09 00:33:25.907  9416  9416 W crash_dump32: type=1400 audit(0.0:624): avc: denied { dac_override } for capability=1 scontext=u:r:crash_dump:s0 tcontext=u:r:crash_dump:s0 tclass=capability per
missive=0
02-09 00:33:25.907  9416  9416 W crash_dump32: type=1400 audit(0.0:625): avc: denied { dac_read_search } for capability=2 scontext=u:r:crash_dump:s0 tcontext=u:r:crash_dump:s0 tclass=capability
permissive=0
02-09 00:33:25.907  9416  9416 W crash_dump32: type=1400 audit(0.0:626): avc: denied { dac_override } for capability=1 scontext=u:r:crash_dump:s0 tcontext=u:r:crash_dump:s0 tclass=capability per
missive=0
02-09 00:33:25.973   694  1387 E ActivityManager: Sending non-protected broadcast android.intent.action.SU_SESSION_CHANGED from system 694:system/1000 pkg android
02-09 00:33:25.973   694  1387 E ActivityManager: java.lang.Throwable
02-09 00:33:25.973   694  1387 E ActivityManager:       at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:19170)
02-09 00:33:25.973   694  1387 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19775)
02-09 00:33:25.973   694  1387 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:19917)
02-09 00:33:25.973   694  1387 E ActivityManager:       at android.app.ContextImpl.sendBroadcastAsUser(ContextImpl.java:1130)
02-09 00:33:25.973   694  1387 E ActivityManager:       at com.android.server.AppOpsService$2.run(AppOpsService.java:143)
02-09 00:33:25.973   694  1387 E ActivityManager:       at android.os.Handler.handleCallback(Handler.java:790)
02-09 00:33:25.973   694  1387 E ActivityManager:       at android.os.Handler.dispatchMessage(Handler.java:99)
02-09 00:33:25.973   694  1387 E ActivityManager:       at android.os.Looper.loop(Looper.java:164)
02-09 00:33:25.973   694  1387 E ActivityManager:       at android.os.HandlerThread.run(HandlerThread.java:65)
02-09 00:33:25.973   694  1387 E ActivityManager:       at com.android.server.ServiceThread.run(ServiceThread.java:46)
02-09 00:33:25.907  9416  9416 W crash_dump32: type=1400 audit(0.0:627): avc: denied { dac_read_search } for capability=2 scontext=u:r:crash_dump:s0 tcontext=u:r:crash_dump:s0 tclass=capability
permissive=0
02-09 00:33:25.907  9416  9416 W crash_dump32: type=1400 audit(0.0:628): avc: denied { dac_override } for capability=1 scontext=u:r:crash_dump:s0 tcontext=u:r:crash_dump:s0 tclass=capability per
missive=0
02-09 00:33:25.907  9416  9416 W crash_dump32: type=1400 audit(0.0:629): avc: denied { dac_read_search } for capability=2 scontext=u:r:crash_dump:s0 tcontext=u:r:crash_dump:s0 tclass=capability
permissive=0

Expected behavior
It did work for many month like this on my previous phone, which was Android 7.1 arm64.

Additional information

$ termux-info
Updatable packages:
All packages up to date
System information:
Linux localhost 3.4.0-perf-g284400aea4b #1 SMP PREEMPT Mon Feb 4 11:41:05 UTC 2019 armv7l Android
Termux-packages arch:
arm
Android version:
8.1.0
Device manufacturer:
Fairphone
Device model:
FP2

tcpdump is broken

$ tcpdump
CANNOT LINK EXECUTABLE "tcpdump": library "libcrypto.so.1.0.0" not found
# hangs for a bit...
[1] 8446 abort tcpdump

strace:

execve("/data/data/com.termux/files/usr/bin/tcpdump", ["tcpdump"], 0x7fd1811fc0 /* 22 vars */) = 0
mmap(NULL, 20480, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x74da7d0000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7d0000, 20480, "bionic TLS guard page") = 0
mprotect(0x74da7d1000, 12288, PROT_READ|PROT_WRITE) = 0
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7d1000, 12288, "bionic TLS") = 0
set_tid_address(0x74da92e9d8)           = 22597
faccessat(AT_FDCWD, "/dev/urandom", R_OK) = 0
futex(0x74da92b280, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\x7c\x50\x02\x5b\x81\x50\x21\x1a\x69\xd0\x65\x97\xb8\xbc\x48\xa0\xc5\x7e\x2e\x88\xce\x68\xba\x8d\x6c\xc4\x11\x79\x8c\x22\xaa\x0b"..., 40, GRND_NONBLOCK) = 40
mmap(NULL, 1104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x74da7cf000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7cf000, 1104, "arc4random data") = 0
mmap(NULL, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x74da7ca000
mprotect(0x74da7ca000, 4096, PROT_NONE) = 0
sigaltstack({ss_sp=0x74da7cb000, ss_flags=0, ss_size=16384}, NULL) = 0
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7cb000, 16384, "thread signal stack") = 0
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7ca000, 4096, "thread signal stack guard page") = 0
mprotect(0x74da8bc000, 16384, PROT_READ) = 0
mprotect(0x74da92d000, 4096, PROT_READ) = 0
mprotect(0x74da92d000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da92d000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x74da7c9000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c9000, 4096, "atexit handlers") = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c8000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c8000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c7000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c7000, 24, "linker_alloc_vector") = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c6000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c6000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c5000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c5000, 24, "linker_alloc_vector") = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c4000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c4000, 4096, "linker_alloc") = 0
mprotect(0x74da7c4000, 4096, PROT_READ|PROT_WRITE) = 0
newfstatat(AT_FDCWD, "/dev/__properties__", {st_mode=S_IFDIR|0711, st_size=1800, ...}, 0) = 0
openat(AT_FDCWD, "/property_contexts", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
faccessat(AT_FDCWD, "/system/etc/selinux/plat_property_contexts", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/plat_property_contexts", O_RDONLY|O_CLOEXEC) = 3
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c3000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c3000, 4096, "linker_alloc_lob") = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=4323, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c1000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c1000, 8192, "linker_alloc_lob") = 0
read(3, "asan.restore_reboot  u:object_r:"..., 4096) = 4096
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c0000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c0000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7bf000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7bf000, 24, "linker_alloc_vector") = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7be000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7be000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7bd000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7bd000, 24, "linker_alloc_vector") = 0
read(3, " u:object_r:system_radio_prop:s0"..., 4096) = 227
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7bc000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7bc000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 48, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7bb000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7bb000, 48, "linker_alloc_vector") = 0
munmap(0x74da7c7000, 24)                = 0
read(3, "", 4096)                       = 0
munmap(0x74da7c0000, 4096)              = 0
close(3)                                = 0
munmap(0x74da7c1000, 8192)              = 0
openat(AT_FDCWD, "/nonplat_property_contexts", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=7165, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c1000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c1000, 8192, "linker_alloc_lob") = 0
read(3, "audioflinger.                   "..., 4096) = 4096
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c7000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c7000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c0000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c0000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 48, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7ba000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7ba000, 48, "linker_alloc_vector") = 0
munmap(0x74da7bd000, 24)                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7bd000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7bd000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 96, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7b9000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7b9000, 96, "linker_alloc_vector") = 0
munmap(0x74da7bb000, 48)                = 0
read(3, "    u:object_r:recovery_prop:s0\n"..., 4096) = 3069
read(3, "", 4096)                       = 0
munmap(0x74da7c7000, 4096)              = 0
close(3)                                = 0
munmap(0x74da7c1000, 8192)              = 0
openat(AT_FDCWD, "/dev/__properties__/properties_serial", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=196608, ...}) = 0
mmap(NULL, 196608, PROT_READ, MAP_SHARED, 3, 0) = 0x74da789000
close(3)                                = 0
mmap(NULL, 12288, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x74da786000
mprotect(0x74da787000, 4096, PROT_READ|PROT_WRITE) = 0
rt_sigaction(SIGABRT, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGBUS, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGFPE, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGILL, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGSTKFLT, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGSYS, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGTRAP, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_3, {sa_handler=0x74da7fe104, sa_mask=~[], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
prctl(PR_GET_DUMPABLE)                  = 1 (SUID_DUMP_USER)
futex(0x74da92b280, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/dev/__properties__/u:object_r:debug_prop:s0", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=196608, ...}) = 0
mmap(NULL, 196608, PROT_READ, MAP_SHARED, 3, 0) = 0x74da756000
close(3)                                = 0
futex(0x74da92b280, FUTEX_WAKE_PRIVATE, 2147483647) = 0
newfstatat(AT_FDCWD, "/proc/self/exe", {st_mode=S_IFREG|0700, st_size=1065080, ...}, 0) = 0
mprotect(0x74da7c9000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x74da7c9000, 4096, PROT_READ) = 0
futex(0x74da92b280, FUTEX_WAKE_PRIVATE, 2147483647) = 0
readlinkat(AT_FDCWD, "/proc/self/exe", "/data/data/com.termux/files/usr/"..., 4096) = 43
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c7000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c7000, 4096, "linker_alloc") = 0
newfstatat(AT_FDCWD, "/data", {st_mode=S_IFDIR|0771, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/data/data", {st_mode=S_IFDIR|0771, st_size=12288, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/data/data/com.termux", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/data/data/com.termux/files", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/data/data/com.termux/files/usr", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/data/data/com.termux/files/usr/lib", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/data/data/com.termux/files/usr/lib", {st_mode=S_IFDIR|0700, st_size=4096, ...}, 0) = 0
openat(AT_FDCWD, "/system/etc/ld.config.txt", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=486, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c2000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c2000, 4096, "linker_alloc_small_objects") = 0
mmap(NULL, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c1000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c1000, 24, "linker_alloc_vector") = 0
read(3, "# Copyright (C) 2017 The Android"..., 1024) = 486
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0x74da7c2000, 4096)              = 0
newfstatat(AT_FDCWD, "/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/system/lib64", {st_mode=S_IFDIR|0755, st_size=20480, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/vendor", {st_mode=S_IFLNK|0777, st_size=14, ...}, AT_SYMLINK_NOFOLLOW) = 0
readlinkat(AT_FDCWD, "/vendor", "/system/vendor", 4095) = 14
newfstatat(AT_FDCWD, "/system", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/system/vendor", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
newfstatat(AT_FDCWD, "/system/vendor/lib64", {st_mode=S_IFDIR|0755, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7c2000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7c2000, 4096, "linker_alloc") = 0
openat(AT_FDCWD, "/data/data/com.termux/files/usr/lib/libtermux-exec.so", O_RDONLY|O_CLOEXEC) = 3
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da754000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da754000, 8192, "linker_alloc_lob") = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da752000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da752000, 8192, "linker_alloc_lob") = 0
readlinkat(AT_FDCWD, "/proc/self/fd/3", "/data/data/com.termux/files/usr/"..., 4096) = 53
munmap(0x74da752000, 8192)              = 0
munmap(0x74da754000, 8192)              = 0
fstat(3, {st_mode=S_IFREG|0600, st_size=5720, ...}) = 0
fstatfs(3, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096, f_blocks=6340372, f_bfree=4921096, f_bavail=4921096, f_files=1618848, f_ffree=1603337, f_fsid={val=[3546324968, 77008235]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOSUID|ST_NODEV|ST_NOATIME}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x74da7bb000
prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, 0x74da7bb000, 4096, "linker_alloc_small_objects") = 0
pread64(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 64, 0) = 64
mmap(NULL, 464, PROT_READ, MAP_PRIVATE, 3, 0) = 0x74da755000
mmap(NULL, 2032, PROT_READ, MAP_PRIVATE, 3, 0x1000) = 0x74da754000
mmap(NULL, 7728, PROT_READ, MAP_PRIVATE, 3, 0) = 0x74da752000
mmap(NULL, 1813, PROT_READ, MAP_PRIVATE, 3, 0) = 0x74da751000
openat(AT_FDCWD, "/data/data/com.termux/files/usr/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/system/lib64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/system/vendor/lib64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/__properties__/u:object_r:default_prop:s0", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=196608, ...}) = 0
mmap(NULL, 196608, PROT_READ, MAP_SHARED, 4, 0) = 0x74da721000
close(4)                                = 0
close(3)                                = 0
munmap(0x74da751000, 1813)              = 0
munmap(0x74da752000, 7728)              = 0
munmap(0x74da754000, 2032)              = 0
munmap(0x74da755000, 464)               = 0
munmap(0x74da7bb000, 4096)              = 0
writev(2, [{iov_base="CANNOT LINK EXECUTABLE \"tcpdump\""..., iov_len=72}, {iov_base="\n", iov_len=1}], 2CANNOT LINK EXECUTABLE "tcpdump": library "libcrypto.so.1.0.0" not found
) = 73
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
openat(AT_FDCWD, "/dev/__properties__/u:object_r:system_prop:s0", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=196608, ...}) = 0
mmap(NULL, 196608, PROT_READ, MAP_SHARED, 4, 0) = 0x74da6f1000
close(4)                                = 0
connect(3, {sa_family=AF_UNIX, sun_path="/dev/socket/logdw"}, 110) = 0
openat(AT_FDCWD, "/dev/__properties__/u:object_r:logd_prop:s0", O_RDONLY|O_NOFOLLOW|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=196608, ...}) = 0
mmap(NULL, 196608, PROT_READ, MAP_SHARED, 4, 0) = 0x74da6c1000
close(4)                                = 0
writev(3, [{iov_base="\4", iov_len=1}, {iov_base="EX", iov_len=2}, {iov_base="C\17\257[3/\3268", iov_len=8}, {iov_base="\7", iov_len=1}, {iov_base="libc\0", iov_len=5}, {iov_base="CANNOT LINK EXECUTABLE \"tcpdump\""..., iov_len=73}], 6) = 90
close(3)                                = 0
mmap(NULL, 81, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x74da7bb000
getpid()                                = 22597
gettid()                                = 22597
rt_sigprocmask(SIG_SETMASK, ~[ABRT], [], 8) = 0
tgkill(22597, 22597, SIGABRT)           = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=22597, si_uid=10177} ---
rt_sigaction(SIGABRT, NULL, {sa_handler=0x74da7fe104, sa_mask=~[KILL STOP], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, 8) = 0
prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0)  = 0
prctl(PR_GET_NAME, "tcpdump")           = 0
gettid()                                = 22597
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_UNIX, sun_path="/dev/socket/logdw"}, 110) = 0
writev(3, [{iov_base="\4", iov_len=1}, {iov_base="EX", iov_len=2}, {iov_base="C\17\257[\255\316\3558", iov_len=8}, {iov_base="\7", iov_len=1}, {iov_base="libc\0", iov_len=5}, {iov_base="Fatal signal 6 (SIGABRT), code -"..., iov_len=57}], 6) = 74
close(3)                                = 0
gettid()                                = 22597
prctl(PR_SET_DUMPABLE, SUID_DUMP_USER)  = 0
clone(child_stack=0x74da787fe0, flags=CLONE_VM|CLONE_SIGHAND|CLONE_THREAD|CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID, child_tidptr=0x74da7cdd08) = 22616
futex(0x74da7cdd08, FUTEX_WAIT, 4294967295, NULL) = -1 EAGAIN (Try again)
futex(0x74da7cdd08, FUTEX_WAIT, 22616, NULL) = 0
rt_sigaction(SIGABRT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART}, {sa_handler=0x74da7fe104, sa_mask=~[KILL STOP], sa_flags=SA_ONSTACK|SA_RESTART|SA_SIGINFO}, 8) = 0
rt_sigaction(SIGABRT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTART}, 8) = 0
getpid()                                = 22597
gettid()                                = 22597
rt_tgsigqueueinfo(22597, 22597, SIGABRT, {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=22597, si_uid=10177}) = 0
rt_sigreturn({mask=~[ABRT KILL STOP]})  = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=22597, si_uid=10177} ---
+++ killed by SIGABRT +++

termux-info:

Updatable packages:
All packages up to date
System information:
Linux localhost 4.4.154-MCK-O-v2 #1 SMP PREEMPT Sat Sep 22 19:23:37 CEST 2018 aarch64 Android
Termux-packages arch:
aarch64
Android version:
8.0.0
Device manufacturer:
samsung
Device model:
SM-A530F

chroot segmentation fault

Problem description
Getting "segmentation fault" when trying to chroot into alpine rootfs.

$ tsu
# cd /data/alpine
# which chroot
/data/data/com.termux/files/usr/bin/chroot
# chroot . /bin/su
Segmentation fault

System binary works fine:

# /system/bin/chroot . /bin/su
/ #

Steps to reproduce
Just do chroot /path/to/fs /bin/sh. I used Alpine Linux rootfs.
It also easily crashes with chroot /.

Expected behavior
Chroot should execute specified command inside rootfs without any problem.

Additional information

Updatable packages:
All packages up to date
Subscribed repositories:
https://dl.bintray.com/xeffyr/x11-packages-24 x11/main
https://dl.bintray.com/grimler/science-packages-24 science/stable
https://dl.bintray.com/grimler/termux-root-packages-24 root/stable
https://dl.bintray.com/grimler/game-packages-24 games/stable
https://dl.bintray.com/termux/termux-packages-24 stable/main
System information:
Linux localhost 3.18.140-g674a3b7ff94 #1 SMP PREEMPT Sun Jun 9 17:46:45 UTC 2019 aarch64 Android
Termux-packages arch:
aarch64
Android version:
9
Device manufacturer:
samsung
Device model:
SM-G930F

Package request: sshfs

If sshfs or similar tools are available in termux, than we could use both linux/android tools to develop on the hard drive.
For example, we can compile java to jar on PC, and then use termux's dx and aapt to package android app without copying back and forth.

$ pacman -Si sshfs
Repository : community
Name : sshfs
Version : 2.7-1
Description : FUSE client based on the SSH File Transfer Protocol
Architecture : x86_64
URL : http://github.com/libfuse/sshfs
Licenses : GPL
Groups : None
Provides : None
Depends On : fuse glib2 openssh
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 31.61 KiB
Installed Size : 76.00 KiB
Packager : Antonio Rojas [email protected]
Build Date : Fri 22 Apr 2016 03:28:39 AM CST
Validated By : MD5 Sum SHA-256 Sum Signature

[Package Request] bettercap

Package description
bettercap is the Swiss Army knife for WiFi, Bluetooth Low Energy, wireless HID hijacking and Ethernet networks reconnaissance and MITM attacks.

Link to home page and sources

  1. Home page: https://www.bettercap.org
  2. Source code: https://github.com/bettercap/bettercap

Additional information
In bettercap home page the installation, compiling and usage process is very well documented. Please see through. I also saw bettercap as a apt-get package in Kali Linux.
...Again please add this package πŸ™

wireless-tools conflicts with wireless-tools-dev

$ pkg upgrade

Hit:1 https://termux.net stable InRelease
Get:2 https://its-pointless.github.io/files termux InRelease [9176 B]
Ign:3 https://dl.bintray.com/grimler/game-packages-21 games InRelease
Ign:4 https://dl.bintray.com/grimler/termux-root-packages-21 root InRelease
Ign:5 https://dl.bintray.com/grimler/science-packages-21 science InRelease
Ign:6 https://dl.bintray.com/xeffyr/unstable-packages-21 unstable InRelease
Ign:7 https://dl.bintray.com/xeffyr/x11-packages-21 x11 InRelease
Get:8 https://dl.bintray.com/grimler/game-packages-21 games Release [5344 B]
Hit:8 https://dl.bintray.com/grimler/game-packages-21 games Release
Get:10 https://dl.bintray.com/grimler/termux-root-packages-21 root Release [6185 B]
Hit:10 https://dl.bintray.com/grimler/termux-root-packages-21 root Release
Get:12 https://dl.bintray.com/grimler/science-packages-21 science Release [5348 B]
Hit:12 https://dl.bintray.com/grimler/science-packages-21 science Release
Get:14 https://dl.bintray.com/xeffyr/unstable-packages-21 unstable Release [6065 B]
Hit:14 https://dl.bintray.com/xeffyr/unstable-packages-21 unstable Release
Get:16 https://dl.bintray.com/xeffyr/x11-packages-21 x11 Release [6055 B]
Hit:16 https://dl.bintray.com/xeffyr/x11-packages-21 x11 Release
Fetched 9176 B in 7s (1156 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  wireless-tools
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
79 not fully installed or removed.
Need to get 0 B/83.4 kB of archives.
After this operation, 73.7 kB of additional disk space will be used.
(Reading database ... 61692 files and directories currently installed.)
Preparing to unpack .../wireless-tools_30pre9-1_aarch64.deb ...
Unpacking wireless-tools (30pre9-1) over (30pre9) ...
dpkg: error processing archive /data/data/com.termux/files/usr/var/cache/apt/archives/wireless-tools_30pre9-1_aarch64.deb (--unpack):
 trying to overwrite '/data/data/com.termux/files/usr/include/wireless.h', which is also in package wireless-tools-dev 30pre9
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /data/data/com.termux/files/usr/var/cache/apt/archives/wireless-tools_30pre9-1_aarch64.deb
E: Sub-process /data/data/com.termux/files/usr/bin/dpkg returned an error code (1)
$

A Tshark bug report

Tshark:
When I try to execute tshark, it won't output anything at all. After execution, it just puts back the shell. I expected it to print something, but it doesn't do anything at all. Here is a screenshot. I hope this is enough for you to reproduce and understand what is the matter of this package.
Screen_Capture_Img_583

What about cryptsetup?

Hi all.

I'm thinking about the great plus using cryptsetup to open and use on the fly crypted volumes.
Is it possible to have that package available?

Thanks.

Tshark question

I was trying tshark and I see this. Is this something that can stop me.

tshark: Couldn't load plugin 'usbdump.so': dlopen failed: cannot locate symbol "wtap_register_open_info" referenced by "usbdump.so"...

Package request: squashfuse

From @lars18th on June 8, 2018 13:30

https://github.com/vasi/squashfuse

The idea is to have the binaries inside the Termux, and with "su" (root) support, mount using native FUSE support an SquashFS image. This will provide readonly mounts of, for example, images inside the SDCard.

The package has native Android support, so I feel it well be easy to incorporate to the Termux Packages repository.

I hope you agree.

Copied from original issue: termux/termux-packages#2496

openvpn

Package description
Describe what this package do and why it should be available. => It's a VPN package.

Link to home page and sources

  1. Home page: https://openvpn.net/
  2. Source code: https://github.com/OpenVPN/openvpn

Additional information
Have you compiled or tried to compile the package on device? => No

  • If it didn't work then please provide the error you ran into
  • If it did work then please share any patches that you had to apply

Tshark doesn't detect any packets

After upgrading tshark to version 3.0.2, I cannot scan my network to do pentesting. After executing the command, it displays:
20190716_115309
The scan command doesn't even detect anything from my wifi. The show all interfaces only display those two. Am I missing something.
My Termux-info:
Updatable packages:
All packages up to date
Subscribed repositories:
https://dl.bintray.com/xeffyr/x11-packages-21 x11/main
https://dl.bintray.com/xeffyr/unstable-packages-21 unstable/main
https://dl.bintray.com/grimler/science-packages-21 science/stable
https://dl.bintray.com/grimler/termux-root-packages-21 root/stable
https://dl.bintray.com/grimler/game-packages-21 games/stable
https://termux.net stable/main
https://termux.net stable/main
System information:
Linux localhost 3.10.72 #1 SMP PREEMPT Tue Feb 16 18:23:49 CST 2016 armv7l Android
Termux-packages arch:
arm
Android version:
5.1
Device manufacturer:
Lenovo
Device model:
Lenovo TB3-710I

I hope you can help and fix this. Thank you very much.

package request: wifite2

Great job for all that Termux is. I know that this is probably a "no can do", but would be a for a nobel award!

;)

Compiling aircrack-ng for aarch64 fails

Error is:

In file included from sse-intrinsics.c:85:
In file included from /home/builder/.termux-build/_lib/16-aarch64-21-v3/lib64/clang/5.0.300080/include/emmintrin.h:27:
In file included from /home/builder/.termux-build/_lib/16-aarch64-21-v3/lib64/clang/5.0.300080/include/xmmintrin.h:27:
/home/builder/.termux-build/_lib/16-aarch64-21-v3/lib64/clang/5.0.300080/include/mmintrin.h:64:12: error: 
      invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type
      'int' of different size
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This seems to be an error that appears for other packages as well, see for example https://github.com/termux/termux-packages/issues/2028.

Until this can be solved aarch64 is blacklisted for aircrack-ng.

HW-Probe

Please add HW-Probe to be able to check easy which hardware is currently supported by linux.

Package description

This is a project to collect hardware details of Linux-powered computers over the world and help Linux users and developers to collaboratively debug hardware related issues.

Hardware Probe Tool (HW Probe) β€” a tool to probe for hardware, check its operability and upload result to the Linux hardware database

Link to home page and sources

  1. Home page: https://linux-hardware.org
  2. Source code: https://github.com/linuxhw/hw-probe
  3. Examples: https://linux-hardware.org/index.php?view=timeline

Additional information
I simply tried to run hw-probe.pl but it says "hwinfo" is missing.

Nethogs cannot link executable

CANNOT LINK EXECUTABLE "nethogs": cannot locate symbol "_Unwind_Resume" referenced by "/data/data/com.termux/files/usr/bin/nethogs"...
Aborted

Maybe I'm missing a dependency, or perhaps it just needs to be rebuilt.

A mtr problem in tsu

➜~ mtr
Failure to open IPv4 sockets: Operation not permitted
Failure to open IPv6 sockets: Operation not permitted
mtr: Failure to start mtr-packet: Invalid argument
➜ ~ tsu
➜ / mtr
Error opening terminal: unknown.
➜ / mtr -v
mtr UNKNOWN
➜ /

Bettercap has invalid path for installing caplets

Problem description
When updating caplets, bettercap tries to create /usr directory.

192.168.1.0/24 > 192.168.1.155  Β» caplets.update
[00:24:44] [sys.log] [inf] caplets creating caplets install path /usr/local/share/bettercap/ ...
192.168.1.0/24 > 192.168.1.155  Β» [00:24:44] [sys.log] [err] mkdir /usr: read-only file system

Steps to reproduce
Execute command caplets.update within the bettercap session.

Expected behavior
Something like

[00:25:20] [sys.log] [inf] caplets downloading caplets from https://github.com/bettercap/caplets/archive/master.zip ...
[00:25:22] [sys.log] [inf] caplets installing caplets to /data/data/com.termux/files/usr/share/bettercap/caplets ...

Fresh install of dirmngr installs gnupg2

On a fresh install of Termux at least, I was unable to install the key using the command in the readme even though gnupg2 is installed as a dependency for dirmgr. As was mentioned somewhere in this repo, changing the --recv to --recv-keys worked.

I'm not positive I'm doing everything right but it was a little confusing Can someone double check this?

Thanks!

docker container

Note that this currently only works outside of the docker container. To build from the docker container,
termux-root-packages has to be a subfolder of termux-packages, and a root package can then be built with

This isn't clear to me. I would like to build tcpdump.

Thank you.

Not found lspci package

#sudo airmon-ng
Please install lspci from your distro's package manager.
How to solve this?
airmon-ng need lspci package,
Please add lspci package so that we can use aircrack-ng, without lspci, airmon-ng cannot run.

Package request: fping

Package description
fping is a program to send ICMP echo probes to network hosts, similar to ping, but much better performing when pinging multiple hosts. fping has a very long history: Roland Schemers did publish a first version of it in 1992 and it has established itself since then as a standard tool for network diagnostics and statistics.

Link to home page and sources

  1. Home page: https://fping.org/
  2. Source code: https://github.com/schweikert/fping

Additional information
Have you compiled or tried to compile the package on device?
No. But, if you guys has try it, please help me and let me know. i really need this package. thanks.

mtr unable to trace ipv6 addresses

When I execute
$ tsudo mtr 2001:da8::666
it says
mtr: Failed to resolve host: 2001:da8::666: No address associated with hostname
if -6 is added
mtr: invalid option -- 6
and attaches a help list
I got mtr from the apt repo in readme.md

Airmon-ng doesn't work

When I execute tsudo airmon-ng start wlan0 it gives me:

/data/data/com.termux/files/usr/bin/airmon-ng: 59: /data/data/com.termux/files/usr/bin/airmon-ng: id: Permission denied
Unable to determine user id, permission errors may occur.
/data/data/com.termux/files/usr/bin/airmon-ng: 75: /data/data/com.termux/files/usr/bin/airmon-ng: uname: Permission denied
Your kernel has module support but you don't have modprobe installed.
It is highly recommended to install modprobe (typically from kmod).
Your kernel has module support but you don't have modinfo installed.
It is highly recommended to install modinfo (typically from kmod).
Warning: driver detection without modinfo may yield inaccurate results.
Your kernel supports rfkill but you don't have rfkill installed.
To ensure devices are unblocked you must install rfkill.
/data/data/com.termux/files/usr/bin/airmon-ng: 171: /data/data/com.termux/files/usr/bin/airmon-ng: ls: Permission denied

/data/data/com.termux/files/usr/bin/airmon-ng: 1085: /data/data/com.termux/files/usr/bin/airmon-ng: ls: Permission denied
/data/data/com.termux/files/usr/bin/airmon-ng: 982: /data/data/com.termux/files/usr/bin/airmon-ng: grep: Permission denied
/data/data/com.termux/files/usr/bin/airmon-ng: 989: /data/data/com.termux/files/usr/bin/airmon-ng: grep: Permission denied
/data/data/com.termux/files/usr/bin/airmon-ng: 1008: /data/data/com.termux/files/usr/bin/airmon-ng: ps: Permission denied
/data/data/com.termux/files/usr/bin/airmon-ng: 1008: /data/data/com.termux/files/usr/bin/airmon-ng: grep: Permission denied
/data/data/com.termux/files/usr/bin/airmon-ng: 1013: [: -gt: unexpected operator
/data/data/com.termux/files/usr/bin/airmon-ng: 1024: [: -gt: unexpected operator

PHY     Interface       Driver          Chipset

and does not enable monitor mode.

Setup travis builds

Get travis up and running (using similar .travis.yml as in termux-packages) so that pull requests are tested automatically.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.