[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] Linux big bang theory....
- To: full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: Re: [Full-disclosure] Linux big bang theory....
- From: "Mike Owen" <kyphros@xxxxxxxxx>
- Date: Tue, 15 May 2007 08:48:40 -0700
On 5/13/07, Andrew Farmer <andfarm@xxxxxxxxx> wrote:
> Well, yeah. The script depends on lynx and wget being available, and
> neither is installed on OS X. It also depends on the line-by-line
> layout of several include files, one of which (linux/wireless.h)
> doesn't even exist on non-Linux systems.
>
> It won't even work on all Linux systems. If the target doesn't have
> compilers available, for example, it won't have any headers to grab
> the target strings from.
>
Don't forget things like x86_32/x86_64, especially when combined with
a source distro like Gentoo. And of course, things like different
versions of linux/wireless.h, etc.
<snip>
happy=`awk 'NR==59 {gsub(/"/,"");print $3}' /usr/include/paths.h`
</snip>
$ cat /usr/include/paths.h
/* Autogenerated by create_ml_includes() in multilib.eclass */
#ifdef __i386__
# include <gentoo-multilib/x86/paths.h>
#endif /* __i386__ */
#ifdef __x86_64__
# include <gentoo-multilib/amd64/paths.h>
#endif /* __x86_64__ */
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/