Skip to content

Instantly share code, notes, and snippets.

@warewolf
warewolf / foscam_initrd_strings.txt
Created September 24, 2016 05:26
foscam initrd strings (I totally did not dump this correctly)
blar: 85898 echo "${GREEN}You are welcomed by FOSCAM R&D.${NORMAL}"
blar: 85956 070701000002E1000081FF000003E8000003E80000000153AABED00000003B000000030000000100000000000000000000000B00000000etc/passwd
blar: 86080 root:$1$uYfJBoag$N8ofdlVBVcfzOY7utbTfo0:0:0::/root:/bin/sh
blar: 86140 070701000002E2000081FF000003E8000003E8000000015330D62300000026000000030000000100000000000000000000000C00000000etc/passwd-
blar: 86264 root:ab8nBoH3mb8.g:0:0::/root:/bin/sh
blar: 86304 070701000002E3000041FF000003E8000003E80000000256680ABA00000000000000030000000100000000000000000000000B00000000etc/init.d
blar: 86428 070701000002E4000081FF000003E8000003E8000000015330D62300000087000000030000000100000000000000000000001300000000etc/init.d/S90init
@warewolf
warewolf / soup.txt
Created August 17, 2016 15:07
chicken noodle soup
Note: this makes a lot of food. It's got a lot of veggies in it, with so much solid stuff in there, it doesn't leave much room for the liquid. Adjust your veggies down to 1 cup each if you like a more liquidy soup.
This recipe is loosely based on http://www.cooks.com/rec/doc/0,1639,156182-243203,00.html and I have to admit that I took bits and pieces from other recipes on the site and took what sounded tasty and threw it all in the pot. Yes, one of the recipes called for bacon :) Yum.
THE MEAT & JUICES:
1 whole fryer chicken (I did not use the giblets)
4 cups chicken broth
THE FLAVOR:
1/4 tsp pepper
# -SSH- warewolf@xabean:~/bin/srp$ cat email
#!/usr/bin/perl
use strict;
use warnings;
use MIME::Base64;
use POSIX qw(strftime);
my ($email) = @ARGV;
user-agent=Mozilla/5.0 compatable (All your base are belong to us!!; Macintosh %d%sUnix NT Netscape Linux Internet Explorer; I U; en-US;" Happy parsing! <script><!--
[root@matrix /]# du -xshc /; df -h .; lsof | grep eleted
1.7G /
1.7G total
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/fedora--server-root 26G 18G 6.7G 74% /
monitor 1099 root 7u REG 0,37 141 13516 /tmp/tmpfOSiUzF (deleted)
ovsdb-ser 1100 root 7u REG 0,37 141 13516 /tmp/tmpfOSiUzF (deleted)
[root@matrix /]#
<sysinfo type='smbios'>
<bios>
<entry name='vendor'>American Megatrends Inc.</entry>
<entry name='version'>2.0a</entry>
<entry name='date'>06/08/2012</entry>
<entry name='release'>2.10</entry>
</bios>
<system>
<entry name='manufacturer'>Supermicro</entry>
<entry name='product'>X9SCL/X9SCM</entry>
diff -urN libvirt-1.2.18.2/src/qemu/qemu_command.c libvirt-1.2.18.2-patched/src/qemu/qemu_command.c
--- libvirt-1.2.18.2/src/qemu/qemu_command.c 2015-12-23 18:21:41.000000000 -0500
+++ libvirt-1.2.18.2-patched/src/qemu/qemu_command.c 2016-05-06 17:26:55.033133087 -0400
@@ -3756,9 +3756,7 @@
virBufferAddLit(&opt, ",readonly=on");
}
if (disk->transient) {
- virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
- _("transient disks not supported yet"));
- goto error;
[
{
"format_version" : 2,
"_category_" : "client_event",
"triggered_on" : 1462327087456,
"event_namespace" : {
"component" : "user_recommendations",
"section" : "profile",
"page" : "me",
"element" : "wtf_import_prompt",
# Copyright (C) 2010-2015 Cuckoo Foundation.
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
# See the file 'docs/LICENSE' for copying permission.
import logging
import libvirt
import xml.etree.ElementTree as ET
from lib.cuckoo.common.abstracts import LibVirtMachinery
Take a look at the scsi lines, with 'scsi 11:0:0:0' v.s. scsi 11:0:0:1' - the last 0/1 is the logical unit number. Hidden volume drive has two LUNs.
Drive w/ hidden volume:
[14448.296921] scsi host11: usb-storage 2-3.4:1.0
[14449.301962] scsi 11:0:0:0: Direct-Access USB DISK 1.00 PQ: 0 ANSI: 4
[14449.302936] scsi 11:0:0:1: Direct-Access USB DISK 1.00 PQ: 0 ANSI: 4
[14449.303853] sd 11:0:0:0: Attached scsi generic sg4 type 0
[14449.304387] sd 11:0:0:1: Attached scsi generic sg5 type 0
[14452.632704] sd 11:0:0:1: [sdc] 8392696 512-byte logical blocks: (4.30 GB/4.00 GiB)