diff options
-rw-r--r-- | packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key | bin | 0 -> 426 bytes | |||
-rw-r--r-- | packages/initrdscripts/dropbear-backdoor/passwd | 1 | ||||
-rw-r--r-- | packages/initrdscripts/dropbear-backdoor_0.1.bb | 11 |
3 files changed, 12 insertions, 0 deletions
diff --git a/packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key b/packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key Binary files differnew file mode 100644 index 0000000000..18d832332e --- /dev/null +++ b/packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key diff --git a/packages/initrdscripts/dropbear-backdoor/passwd b/packages/initrdscripts/dropbear-backdoor/passwd new file mode 100644 index 0000000000..233d68fae1 --- /dev/null +++ b/packages/initrdscripts/dropbear-backdoor/passwd @@ -0,0 +1 @@ +root::0:0:root:/:/bin/sh diff --git a/packages/initrdscripts/dropbear-backdoor_0.1.bb b/packages/initrdscripts/dropbear-backdoor_0.1.bb new file mode 100644 index 0000000000..bbed32b834 --- /dev/null +++ b/packages/initrdscripts/dropbear-backdoor_0.1.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Set of files to open up unlimited access to dropbear daemon - DEBUG ONLY!" +SRC_URI = "file://passwd file://dropbear_rsa_host_key" +PR = "r0" + +do_install() { + install -d ${D}/etc/dropbear + install -m 0600 ${WORKDIR}/dropbear_rsa_host_key ${D}/etc/dropbear/ + install -m 0644 ${WORKDIR}/passwd ${D}/etc/ +} + +FILES_${PN} += " /etc/* " |