Exploit database

GH-9bef12607fbc6142c2d2e0da5832840c

nanopathi/framework_base_aosp10_r33_cve-2021-0339

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-0339

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files2

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

packages/SystemUI/scripts/copy_profile_icons.sh

Shell · 415 bytes
#!/bin/bash

for user in `adb $* shell ls /data/system/users | grep -v xml`
do
  user=${user/$'\r'/}
  adb shell mkdir /data/user/${user}/users
  for photo in `adb $* shell ls /data/system/users | grep -v xml`
  do
    photo=${photo/$'\r'/}
    adb shell mkdir /data/user/${user}/users/${photo}
    adb pull /data/system/users/${photo}/photo.png
    adb push photo.png /data/user/${user}/users/${photo}
  done
done