I've been trying to install backdoorme and i keep running into errors and not finding many results about this issue but this is the error I'm having most problems with atm
Failed building wheel for cryptography
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-NfDBXS/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-poN1RD/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-NfDBXS/cryptography/
Command "/root/ENV/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-k52G_W/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-1nmF60/install-record.txt --single-version-externally-managed --compile --install-headers /root/ENV/include/site/python2.7/cryptography" failed with error code 1 in /tmp/pip-install-k52G_W/cryptography/
There is not enough information in this ticket for us to provide assistance. At a minimum we need the full command you ran, and the complete output, and ideally we'd like instructions we can use to reproduce this from a clean environment.
Okay I will post in a minute
@alex
root@kali:~/backdoorme# sudo python dependencies.py
Installing Pip for Python.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (10.0.1)
Installing development Python version.
Installing Nmap.
Installing essential python packages.
Failed building wheel for cryptography
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-CtlBXs/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-ypJPUG/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-CtlBXs/cryptography/
Is this by chance on a server with very limited amounts of RAM? Can you run dmesg and see if there's anything getting OOM killed?
@alex I have like 4gb of ram so not sure
root@kali:~/backdoorme# dmesg
[ 0.000000] Linux version 4.15.0-kali3-amd64 ([email protected]) (gcc version 7.3.0 (Debian 7.3.0-16)) #1 SMP Debian 4.15.17-1kali1 (2018-04-25)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-kali3-amd64 root=UUID=604390c6-23da-4d7e-bd45-58c99029cce8 ro initrd=/install/initrd.gz quiet
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dffeffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000dfff0000-0x00000000dfffffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000001559fffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] random: fast init done
[ 0.000000] SMBIOS 2.5 present.
[ 0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 0.000000] Hypervisor detected: KVM
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0x155a00 max_arch_pfn = 0x400000000
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR variable ranges disabled:
[ 0.000000] MTRR: Disabled
[ 0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[ 0.000000] CPU MTRRs all blank - virtualized system.
[ 0.000000] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000000] e820: last_pfn = 0xdfff0 max_arch_pfn = 0x400000000
[ 0.000000] found SMP MP-table at [mem 0x0009fff0-0x0009ffff] mapped at [ (ptrval)]
[ 0.000000] Base memory trampoline at [ (ptrval)] 99000 size 24576
[ 0.000000] BRK [0x140422000, 0x140422fff] PGTABLE
[ 0.000000] BRK [0x140423000, 0x140423fff] PGTABLE
[ 0.000000] BRK [0x140424000, 0x140424fff] PGTABLE
[ 0.000000] BRK [0x140425000, 0x140425fff] PGTABLE
[ 0.000000] BRK [0x140426000, 0x140426fff] PGTABLE
[ 0.000000] BRK [0x140427000, 0x140427fff] PGTABLE
[ 0.000000] BRK [0x140428000, 0x140428fff] PGTABLE
[ 0.000000] BRK [0x140429000, 0x140429fff] PGTABLE
[ 0.000000] BRK [0x14042a000, 0x14042afff] PGTABLE
[ 0.000000] BRK [0x14042b000, 0x14042bfff] PGTABLE
[ 0.000000] RAMDISK: [mem 0x3403d000-0x36015fff]
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX )
[ 0.000000] ACPI: XSDT 0x00000000DFFF0030 00003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061)
[ 0.000000] ACPI: FACP 0x00000000DFFF00F0 0000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061)
[ 0.000000] ACPI: DSDT 0x00000000DFFF0470 0021FF (v02 VBOX VBOXBIOS 00000002 INTL 20100528)
[ 0.000000] ACPI: FACS 0x00000000DFFF0200 000040
[ 0.000000] ACPI: FACS 0x00000000DFFF0200 000040
[ 0.000000] ACPI: APIC 0x00000000DFFF0240 000054 (v02 VBOX VBOXAPIC 00000001 ASL 00000061)
[ 0.000000] ACPI: SSDT 0x00000000DFFF02A0 0001CC (v01 VBOX VBOXCPUT 00000002 INTL 20100528)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at [mem 0x0000000000000000-0x00000001559fffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1559fb000-0x1559fffff]
[ 0.000000] kvm-clock: cpu 0, msr 1:559f2001, primary cpu clock
[ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.000000] kvm-clock: using sched offset of 10596680223 cycles
[ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001559fffff]
[ 0.000000] Device empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.000000] node 0: [mem 0x0000000000100000-0x00000000dffeffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x00000001559fffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x00000001559fffff]
[ 0.000000] On node 0 totalpages: 1268110
[ 0.000000] DMA zone: 64 pages used for memmap
[ 0.000000] DMA zone: 21 pages reserved
[ 0.000000] DMA zone: 3998 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14272 pages used for memmap
[ 0.000000] DMA32 zone: 913392 pages, LIFO batch:31
[ 0.000000] Normal zone: 5480 pages used for memmap
[ 0.000000] Normal zone: 350720 pages, LIFO batch:31
[ 0.000000] Reserved but unavailable: 98 pages
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xdfff0000-0xdfffffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xfebfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfedfffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xfffbffff]
[ 0.000000] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[ 0.000000] e820: [mem 0xe0000000-0xfebfffff] available for PCI devices
[ 0.000000] Booting paravirtualized kernel on KVM
[ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] percpu: Embedded 44 pages/cpu @ (ptrval) s142040 r8192 d29992 u2097152
[ 0.000000] pcpu-alloc: s142040 r8192 d29992 u2097152 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1248273
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-kali3-amd64 root=UUID=604390c6-23da-4d7e-bd45-58c99029cce8 ro initrd=/install/initrd.gz quiet
[ 0.000000] Calgary: detecting Calgary via BIOS EBDA area
[ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[ 0.000000] Memory: 4870904K/5072440K available (10252K kernel code, 1170K rwdata, 3096K rodata, 1516K init, 692K bss, 201536K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Kernel/User page tables isolation: enabled
[ 0.000000] ftrace: allocating 29595 entries in 116 pages
[ 0.004000] Hierarchical RCU implementation.
[ 0.004000] RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1.
[ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.004000] NR_IRQS: 33024, nr_irqs: 256, preallocated irqs: 16
[ 0.004000] Console: colour VGA+ 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] ACPI: Core revision 20170831
[ 0.004000] ACPI: 2 ACPI AML tables successfully acquired and loaded
[ 0.004000] APIC: Switch to symmetric I/O mode setup
[ 0.004000] x2apic enabled
[ 0.004000] Switched APIC routing to physical x2apic.
[ 0.004000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.004000] tsc: Detected 2527.440 MHz processor
[ 0.004000] Calibrating delay loop (skipped) preset value.. 5054.88 BogoMIPS (lpj=10109760)
[ 0.004000] pid_max: default: 32768 minimum: 301
[ 0.004000] Security Framework initialized
[ 0.004000] Yama: disabled by default; enable with sysctl kernel.yama.*
[ 0.004000] AppArmor: AppArmor initialized
[ 0.020162] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.028042] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.028089] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.028102] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.028362] CPU: Physical Processor ID: 0
[ 0.032003] mce: CPU supports 0 MCE banks
[ 0.032016] process: using mwait in idle threads
[ 0.032021] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[ 0.032022] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[ 0.032024] Spectre V2 : Mitigation: Full generic retpoline
[ 0.056411] Freeing SMP alternatives memory: 28K
[ 0.060000] smpboot: CPU0: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz (family: 0x6, model: 0x25, stepping: 0x5)
[ 0.060000] Performance Events: unsupported p6 CPU model 37 no PMU driver, software events only.
[ 0.060000] Hierarchical SRCU implementation.
[ 0.060000] NMI watchdog: Perf event create on CPU 0 failed with -2
[ 0.060000] NMI watchdog: Perf NMI watchdog permanently disabled
[ 0.060000] smp: Bringing up secondary CPUs ...
[ 0.060000] smp: Brought up 1 node, 1 CPU
[ 0.060000] smpboot: Max logical packages: 1
[ 0.060000] smpboot: Total of 1 processors activated (5054.88 BogoMIPS)
[ 0.060000] devtmpfs: initialized
[ 0.060000] x86/mm: Memory block size: 128MB
[ 0.060000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.060000] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.060000] pinctrl core: initialized pinctrl subsystem
[ 0.060086] NET: Registered protocol family 16
[ 0.060149] audit: initializing netlink subsys (disabled)
[ 0.060242] cpuidle: using governor ladder
[ 0.060243] cpuidle: using governor menu
[ 0.060272] ACPI: bus type PCI registered
[ 0.060274] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.060374] PCI: Using configuration type 1 for base access
[ 0.060397] audit: type=2000 audit(1527538653.615:1): state=initialized audit_enabled=0 res=1
[ 0.064268] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.064420] ACPI: Added _OSI(Module Device)
[ 0.064421] ACPI: Added _OSI(Processor Device)
[ 0.064422] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.064422] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.068044] ACPI: Executed 1 blocks of module-level executable AML code
[ 0.070452] ACPI: Interpreter enabled
[ 0.070462] ACPI: (supports S0 S5)
[ 0.070463] ACPI: Using IOAPIC for interrupt routing
[ 0.070643] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.070794] ACPI: Enabled 2 GPEs in block 00 to 07
[ 0.075300] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.075306] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[ 0.075320] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[ 0.075327] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 0.076219] PCI host bridge to bus 0000:00
[ 0.076221] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 0.076223] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 0.076224] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 0.076225] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfdffffff window]
[ 0.076227] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.076270] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[ 0.076965] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[ 0.077808] pci 0000:00:01.1: [8086:7111] type 00 class 0x01018a
[ 0.078508] pci 0000:00:01.1: reg 0x20: [io 0xd000-0xd00f]
[ 0.078804] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.078805] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.078807] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.078808] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 0.079152] pci 0000:00:02.0: [80ee:beef] type 00 class 0x030000
[ 0.080428] pci 0000:00:02.0: reg 0x10: [mem 0xe0000000-0xe0ffffff pref]
[ 0.112291] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[ 0.116186] pci 0000:00:03.0: reg 0x10: [mem 0xf0000000-0xf001ffff]
[ 0.124164] pci 0000:00:03.0: reg 0x18: [io 0xd010-0xd017]
[ 0.144464] pci 0000:00:04.0: [80ee:cafe] type 00 class 0x088000
[ 0.148125] pci 0000:00:04.0: reg 0x10: [io 0xd020-0xd03f]
[ 0.152122] pci 0000:00:04.0: reg 0x14: [mem 0xf0400000-0xf07fffff]
[ 0.156167] pci 0000:00:04.0: reg 0x18: [mem 0xf0800000-0xf0803fff pref]
[ 0.172481] pci 0000:00:05.0: [8086:2415] type 00 class 0x040100
[ 0.172670] pci 0000:00:05.0: reg 0x10: [io 0xd100-0xd1ff]
[ 0.176051] pci 0000:00:05.0: reg 0x14: [io 0xd200-0xd23f]
[ 0.176697] pci 0000:00:06.0: [106b:003f] type 00 class 0x0c0310
[ 0.180019] pci 0000:00:06.0: reg 0x10: [mem 0xf0804000-0xf0804fff]
[ 0.204534] pci 0000:00:07.0: [8086:7113] type 00 class 0x068000
[ 0.205083] pci 0000:00:07.0: quirk: [io 0x4000-0x403f] claimed by PIIX4 ACPI
[ 0.205094] pci 0000:00:07.0: quirk: [io 0x4100-0x410f] claimed by PIIX4 SMB
[ 0.205441] pci 0000:00:0d.0: [8086:2829] type 00 class 0x010601
[ 0.208145] pci 0000:00:0d.0: reg 0x10: [io 0xd240-0xd247]
[ 0.212135] pci 0000:00:0d.0: reg 0x14: [io 0xd248-0xd24b]
[ 0.216135] pci 0000:00:0d.0: reg 0x18: [io 0xd250-0xd257]
[ 0.220130] pci 0000:00:0d.0: reg 0x1c: [io 0xd258-0xd25b]
[ 0.224139] pci 0000:00:0d.0: reg 0x20: [io 0xd260-0xd26f]
[ 0.228131] pci 0000:00:0d.0: reg 0x24: [mem 0xf0806000-0xf0807fff]
[ 0.238003] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 *11)
[ 0.238247] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 *10 11)
[ 0.238351] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10 11)
[ 0.238454] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 9 10 *11)
[ 0.238685] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 0.238687] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.238690] pci 0000:00:02.0: vgaarb: bridge control possible
[ 0.238691] vgaarb: loaded
[ 0.238767] EDAC MC: Ver: 3.0.0
[ 0.239081] PCI: Using ACPI for IRQ routing
[ 0.239082] PCI: pci_cache_line_size set to 64 bytes
[ 0.239288] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[ 0.239290] e820: reserve RAM buffer [mem 0xdfff0000-0xdfffffff]
[ 0.239291] e820: reserve RAM buffer [mem 0x155a00000-0x157ffffff]
[ 0.240043] clocksource: Switched to clocksource kvm-clock
[ 0.266313] VFS: Disk quotas dquot_6.6.0
[ 0.266332] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.266435] AppArmor: AppArmor Filesystem Enabled
[ 0.266459] pnp: PnP ACPI init
[ 0.266555] pnp 00:00: Plug and Play ACPI device, IDs PNP0303 (active)
[ 0.266666] pnp 00:01: Plug and Play ACPI device, IDs PNP0f03 (active)
[ 0.267474] pnp: PnP ACPI: found 2 devices
[ 0.273265] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 0.273280] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 0.273282] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 0.273283] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 0.273285] pci_bus 0000:00: resource 7 [mem 0xe0000000-0xfdffffff window]
[ 0.273330] NET: Registered protocol family 2
[ 0.273548] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.281541] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.281654] TCP: Hash tables configured (established 65536 bind 65536)
[ 0.281703] UDP hash table entries: 4096 (order: 5, 131072 bytes)
[ 0.281726] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes)
[ 0.281822] NET: Registered protocol family 1
[ 0.281836] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.281879] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.281952] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.283274] PCI: CLS 0 bytes, default 64
[ 0.283333] Unpacking initramfs...
[ 1.319132] Freeing initrd memory: 32612K
[ 1.319203] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.319207] software IO TLB [mem 0xdbff0000-0xdfff0000] (64MB) mapped at [000000006f9b7d55-000000007d7703e1]
[ 1.319316] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 1.319836] Initialise system trusted keyrings
[ 1.319913] workingset: timestamp_bits=40 max_order=21 bucket_order=0
[ 1.322786] zbud: loaded
[ 1.706510] Key type asymmetric registered
[ 1.706512] Asymmetric key parser 'x509' registered
[ 1.706571] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.706601] io scheduler noop registered
[ 1.706603] io scheduler deadline registered
[ 1.706642] io scheduler cfq registered (default)
[ 1.706643] io scheduler mq-deadline registered
[ 1.706887] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.707334] Linux agpgart interface v0.103
[ 1.707450] AMD IOMMUv2 driver by Joerg Roedel <[email protected]>
[ 1.707451] AMD IOMMUv2 functionality not available on this system
[ 1.707575] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
[ 1.708237] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.708243] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.708338] mousedev: PS/2 mouse device common for all mice
[ 1.708675] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 1.709098] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[ 1.709157] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[ 1.709172] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.709445] NET: Registered protocol family 10
[ 1.713489] Segment Routing with IPv6
[ 1.713511] mip6: Mobile IPv6
[ 1.713513] NET: Registered protocol family 17
[ 1.713516] mpls_gso: MPLS GSO support
[ 1.713601] sched_clock: Marking stable (1712434898, 0)->(2487137169, -774702271)
[ 1.713722] registered taskstats version 1
[ 1.713723] Loading compiled-in X.509 certificates
[ 1.760339] Loaded X.509 cert 'Debian Project: Ben Hutchings: 008a018dca80932630'
[ 1.760363] zswap: loaded using pool lzo/zbud
[ 1.760402] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.760405] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 1.760780] rtc_cmos rtc_cmos: setting system clock to 2018-05-28 20:17:23 UTC (1527538643)
[ 1.762726] Freeing unused kernel memory: 1516K
[ 1.762728] Write protecting the kernel read-only data: 16384k
[ 1.763264] Freeing unused kernel memory: 2012K
[ 1.765336] Freeing unused kernel memory: 1000K
[ 1.770764] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.770764] x86/mm: Checking user space page tables
[ 1.776064] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 1.942403] piix4_smbus 0000:00:07.0: SMBus Host Controller at 0x4100, revision 0
[ 1.949118] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[ 1.949120] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.954767] SCSI subsystem initialized
[ 1.960513] ACPI: bus type USB registered
[ 1.960537] usbcore: registered new interface driver usbfs
[ 1.960545] usbcore: registered new interface driver hub
[ 1.966673] usbcore: registered new device driver usb
[ 1.968064] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.969492] libata version 3.00 loaded.
[ 1.973358] SSE version of gcm_enc/dec engaged.
[ 1.976210] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.977696] ehci-pci: EHCI PCI platform driver
[ 1.978036] ohci-pci: OHCI PCI platform driver
[ 2.166162] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
[ 2.166962] alg: No test for pcbc(aes) (pcbc-aes-aesni)
[ 2.337936] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x246e7bac9f1, max_idle_ns: 440795332528 ns
[ 2.386833] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 08:00:27:53:c0:d0
[ 2.386840] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 2.386954] ahci 0000:00:0d.0: version 3.0
[ 2.387804] ahci 0000:00:0d.0: SSS flag set, parallel bus scan disabled
[ 2.388056] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
[ 2.388059] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc
[ 2.390196] scsi host0: ahci
[ 2.390265] ata1: SATA max UDMA/133 abar m8192@0xf0806000 port 0xf0806100 irq 21
[ 2.390458] ata_piix 0000:00:01.1: version 2.13
[ 2.391412] scsi host1: ata_piix
[ 2.391618] scsi host2: ata_piix
[ 2.391656] ata2: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
[ 2.391657] ata3: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
[ 2.392708] ohci-pci 0000:00:06.0: OHCI PCI host controller
[ 2.392714] ohci-pci 0000:00:06.0: new USB bus registered, assigned bus number 1
[ 2.392792] ohci-pci 0000:00:06.0: irq 22, io mem 0xf0804000
[ 2.453760] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.453764] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.453766] usb usb1: Product: OHCI PCI host controller
[ 2.453769] usb usb1: Manufacturer: Linux 4.15.0-kali3-amd64 ohci_hcd
[ 2.453771] usb usb1: SerialNumber: 0000:00:06.0
[ 2.454434] hub 1-0:1.0: USB hub found
[ 2.454476] hub 1-0:1.0: 12 ports detected
[ 2.552711] ata2.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133
[ 2.553286] ata2.00: configured for UDMA/33
[ 2.708828] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 2.709070] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[ 2.709073] ata1.00: 98492096 sectors, multi 128: LBA48 NCQ (depth 31/32)
[ 2.709353] ata1.00: configured for UDMA/133
[ 2.709672] scsi 0:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5
[ 2.712525] scsi 1:0:0:0: CD-ROM VBOX CD-ROM 1.0 PQ: 0 ANSI: 5
[ 2.726359] sd 0:0:0:0: [sda] 98492096 512-byte logical blocks: (50.4 GB/47.0 GiB)
[ 2.726376] sd 0:0:0:0: [sda] Write Protect is off
[ 2.726379] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.726403] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.749223] sda: sda1 sda2 < sda5 >
[ 2.750172] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.769329] sr 1:0:0:0: [sr0] scsi3-mmc drive: 32x/32x xa/form2 tray
[ 2.769332] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 2.770163] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 2.909231] usb 1-1: new full-speed USB device number 2 using ohci-pci
[ 3.031405] PM: Starting manual resume from disk
[ 3.031988] PM: Image not found (code -22)
[ 3.229241] usb 1-1: New USB device found, idVendor=80ee, idProduct=0021
[ 3.229245] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 3.229247] usb 1-1: Product: USB Tablet
[ 3.229249] usb 1-1: Manufacturer: VirtualBox
[ 3.254453] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.274985] usbcore: registered new interface driver usbhid
[ 3.274986] usbhid: USB HID core driver
[ 3.277420] input: VirtualBox USB Tablet as /devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input3
[ 3.277638] hid-generic 0003:80EE:0021.0001: input,hidraw0: USB HID v1.10 Mouse [VirtualBox USB Tablet] on usb-0000:00:06.0-1/input0
[ 3.888784] usb 1-2: new full-speed USB device number 3 using ohci-pci
[ 4.594547] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid maxpacket 512, setting to 64
[ 4.594552] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x2 has invalid maxpacket 512, setting to 64
[ 4.612600] usb 1-2: New USB device found, idVendor=0781, idProduct=5530
[ 4.612604] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.612606] usb 1-2: Product: Cruzer
[ 4.612609] usb 1-2: Manufacturer: SanDisk
[ 4.612611] usb 1-2: SerialNumber: SDXX1106301105200403
[ 4.621262] usb-storage 1-2:1.0: USB Mass Storage device detected
[ 4.622758] scsi host3: usb-storage 1-2:1.0
[ 4.622937] usbcore: registered new interface driver usb-storage
[ 4.625653] usbcore: registered new interface driver uas
[ 5.540694] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.108893] scsi 3:0:0:0: Direct-Access SanDisk Cruzer 1100 PQ: 0 ANSI: 0 CCS
[ 6.124751] sd 3:0:0:0: [sdb] 7821312 512-byte logical blocks: (4.00 GB/3.73 GiB)
[ 6.134829] sd 3:0:0:0: [sdb] Write Protect is off
[ 6.134833] sd 3:0:0:0: [sdb] Mode Sense: 43 00 00 00
[ 6.145738] sd 3:0:0:0: [sdb] No Caching mode page found
[ 6.146586] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[ 6.218833] sdb: sdb1
[ 6.261786] sd 3:0:0:0: [sdb] Attached SCSI removable disk
[ 6.340549] random: crng init done
[ 9.227945] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.409561] systemd[1]: systemd 238 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 9.409641] systemd[1]: Detected virtualization oracle.
[ 9.409652] systemd[1]: Detected architecture x86-64.
[ 9.426606] systemd[1]: Set hostname to <kali>.
[ 11.937965] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 11.938267] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 11.938410] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 11.938587] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 11.938769] systemd[1]: Listening on LVM2 poll daemon socket.
[ 11.939284] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 13.014285] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ 13.363362] systemd-journald[280]: Received request to flush runtime journal from PID 1
[ 16.076985] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[ 16.077008] ACPI: Power Button [PWRF]
[ 16.077102] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input5
[ 16.077110] ACPI: Sleep Button [SLPF]
[ 16.188358] ACPI: Battery Slot [BAT0] (battery present)
[ 16.285853] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 16.285951] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input6
[ 16.966284] ACPI: AC Adapter [AC] (on-line)
[ 17.033028] vboxvideo: loading out-of-tree module taints kernel.
[ 17.041654] [drm] VRAM 01000000
[ 17.041946] [TTM] Zone kernel: Available graphics memory: 2454036 kiB
[ 17.041948] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 17.041949] [TTM] Initializing pool allocator
[ 17.041957] [TTM] Initializing DMA pool allocator
[ 17.051709] fbcon: vboxdrmfb (fb0) is primary device
[ 17.054956] Console: switching to colour frame buffer device 100x37
[ 17.056254] vboxvideo 0000:00:02.0: fb0: vboxdrmfb frame buffer device
[ 17.056282] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
[ 17.076422] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 17.076465] sr 1:0:0:0: Attached scsi generic sg1 type 5
[ 17.076507] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 17.299450] input: PC Speaker as /devices/platform/pcspkr/input/input7
[ 17.753788] snd_intel8x0 0000:00:05.0: white list rate for 1028:0177 is 48000
[ 17.756490] vgdrvHeartbeatInit: Setting up heartbeat to trigger every 2000 milliseconds
[ 17.756580] input: Unspecified device as /devices/pci0000:00/0000:00:04.0/input/input8
[ 17.757909] vboxguest: misc device minor 58, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
[ 17.757911] vboxguest: Successfully loaded version 5.2.12 (interface 0x00010004)
[ 18.406358] Adding 5070844k swap on /dev/sda5. Priority:-2 extents:1 across:5070844k FS
[ 22.579173] vboxsf: Successfully loaded version 5.2.12 (interface 0x00010004)
[ 25.146038] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 25.149483] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 25.152175] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 25.152563] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 29.406013] VBoxService 5.2.12 r122591 (verbosity: 0) linux.amd64 (May 9 2018 12:07:53) release log
00:00:00.000244 main Log opened 2018-05-28T20:17:51.145038000Z
[ 29.406124] 00:00:00.000472 main OS Product: Linux
[ 29.406195] 00:00:00.000549 main OS Release: 4.15.0-kali3-amd64
[ 29.406265] 00:00:00.000619 main OS Version: #1 SMP Debian 4.15.17-1kali1 (2018-04-25)
[ 29.406349] 00:00:00.000688 main Executable: /opt/VBoxGuestAdditions-5.2.12/sbin/VBoxService
00:00:00.000690 main Process ID: 612
00:00:00.000692 main Package type: LINUX_64BITS_GENERIC
[ 29.408805] 00:00:00.003153 main 5.2.12 r122591 started. Verbose level = 0
[ 2222.493252] fuse init (API version 7.26)
[ 2239.908188] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 2281.554792] usb 1-2: USB disconnect, device number 3
No, this doesn't appear to be OOM related.
What version of pip, setuptools, and openssl are you using? And can I see a copy of depencies.py?
Finally, in the future, please use backticks so your markdown is well formatted
@alex how do i see the version of openssl and setuptools
@alex my dependency,py
import os
if __name__ == "__main__":
if os.getuid() != 0:
print("Please run this installation script as root!")
else:
print("Installing Pip for Python.")
os.system('apt-get install -y python3-pip >> /dev/null')
os.system('apt-get install -y python-pip >> /dev/null')
os.system("pip install --upgrade pip")
print("Installing development Python version.")
os.system('apt-get install -y build-essential libssl-dev libffi-dev python-dev >> /dev/null')
print("Installing Nmap.")
os.system('apt-get install -y nmap >> /dev/null')
os.system('apt-get install -y python-tk >> /dev/null')
print("Installing essential python packages.")
os.system('pip install -r requirements.txt >> /dev/null')
#print("Downloading additional backdoors.")
#os.system('git clone https://github.com/n1nj4sec/pupy >> /dev/null')
$ openssl version
OpenSSL 1.0.2g 1 Mar 2016
$ python -c "import setuptools; print(setuptools.__version__)"
39.1.0
@alex
OpenSSL 1.1.0h 27 Mar 2018
python -c "import setuptools; print(setuptools.__version__)"
39.2.0
Can you stop redirecting the output of your command to /dev/null so we can get a more complete version of how it's erroring?
@alex I don't understand what you mean
depdencies.py currently redirects output when it invokes pip install -r requirements.txt to /dev/null. I'm asking you to stop doing that so we get complete output for debugging.
@alex okay well how exactly do I stop doing that. Give me step by step instructions of what you want me to do. I'm new to all this and trying to learn
@TrollNation unfortunately we are a very small team and don't have the bandwidth to walk you through this. One last thing to try: could you create a new virtualenv, make sure pip is the latest version in the virtualenv, and pip install -vvv cryptography? If that fails then you can provide the output here and we might be able to isolate the issue. When pasting it in please surround the text with 3 backticks (```) on either side. That will make GitHub format it in a way that is much more readable.
@reaperhulk
root@kali:~/backdoorme# pip install -vvv cryptography
Created temporary directory: /tmp/pip-ephem-wheel-cache-5C4p86
Created temporary directory: /tmp/pip-install-FDoELK
Requirement already satisfied: cryptography in /usr/lib/python2.7/dist-packages (2.1.4)
Cleaning up...
That's not in a virtualenv since cryptography is already present (likely from your OS distribution). Installing things into the OS's python package space can cause major issues as both pip and the OS package manager think they own the directories you're writing into, but neither is aware of the other.
To create a virtualenv and have it immediately upgrade pip and install cryptography: virtualenv myvirtualenv && source myvirtualenv/bin/activate && pip install -U pip && pip install -vvv cryptography
If you get a command not found you'll need to install virtualenv apt install python-virtualenv will do it in your system packages.
@reaperhulk
(myvirtualenv) root@kali:~# pip install -vvv cryptography
Created temporary directory: /tmp/pip-ephem-wheel-cache-wZPZ9k
Created temporary directory: /tmp/pip-install-E2v8Nx
Requirement already satisfied: cryptography in ./myvirtualenv/lib/python2.7/site-packages (2.2.2)
Requirement already satisfied: six>=1.4.1 in ./myvirtualenv/lib/python2.7/site-packages (from cryptography) (1.11.0)
Requirement already satisfied: cffi>=1.7; platform_python_implementation != "PyPy" in ./myvirtualenv/lib/python2.7/site-packages (from cryptography) (1.11.5)
Requirement already satisfied: enum34; python_version < "3" in ./myvirtualenv/lib/python2.7/site-packages (from cryptography) (1.1.6)
Requirement already satisfied: idna>=2.1 in ./myvirtualenv/lib/python2.7/site-packages (from cryptography) (2.6)
Requirement already satisfied: asn1crypto>=0.21.0 in ./myvirtualenv/lib/python2.7/site-packages (from cryptography) (0.24.0)
Requirement already satisfied: ipaddress; python_version < "3" in ./myvirtualenv/lib/python2.7/site-packages (from cryptography) (1.0.22)
Requirement already satisfied: pycparser in ./myvirtualenv/lib/python2.7/site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography) (2.18)
Cleaning up...
Okay so that works just fine. That means the issue is somewhere in the interaction between what you're trying to install and the way you have your linux distribution set up. Unfortunately that's outside the scope of what we can help you with, but I'd strongly suggest not installing the packages in the global scope. You should instead create a virtualenv and run your pip install -r requirements.txt inside that. Good luck!