lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <7b4948f7-7bec-4ba3-de4a-878123ed7a1a@me.com>
Date: Sun, 22 Jan 2012 02:38:57 +0000 (GMT)
From: "Larry W. Cashdollar" <larry0@...com>
To: srm <srm@...kless.org>
Cc: full-disclosure@...ts.grok.org.uk
Subject: Re: usb_modeswitch/pppd -detach

Hi,

This is still a race condition since the pid can be guessed easily as well.  It's better to use mktemp /tmp/debug.XXXXXXXXXX.

-- Larry C$


On Jan 21, 2012, at 02:14 PM, srm <srm@...kless.org> wrote:

>
>
> So, the problem is definitive in the community package of archlinux.
> *sigh*. I checked version 1.2.2 from
>
> http://www.draisberghof.de/usb_modeswitch/#download
>
> It doesn't contain the '/tmp/debug' statement.
>
> However: The following version has the debug statement:
> https://www.archlinux.org/packages/community/i686/usb_modeswitch/
>
> ,grep -n '/tmp/debug' usb_modeswitch.sh
> 66: echo "symlink-name: $2" >/tmp/debug
>
>
> A possible quick fix could be to append $$:
> 66: echo "symlink-name: $2" >/tmp/debug.$$
>
> Greetings
> srm
>

Content of type "text/html" skipped

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ