File Path Race Condition & How To Prevent It - bin 0x31

File Path Race Condition & How To Prevent It - bin 0x31

Channel:
Subscribers:
920,000
Published on ● Video Link: https://www.youtube.com/watch?v=5g137gsB9Wk



Category:
Tutorial
Duration: 7:55
44,719 views
2,310


In this video we look at a typical race condition involving file paths. We learn about the renameat syscall to exploit it and also how to fix it.

Source code: https://gist.github.com/LiveOverflow/590edaf5cf3adeea31c73e303692dec0

-=[ ๐Ÿ”ด Stuff I use ]=-

โ†’ Microphone:* https://amzn.to/2LW6ldx
โ†’ Graphics tablet:* https://amzn.to/2C8djYj
โ†’ Camera#1 for streaming:* https://amzn.to/2SJ66VM
โ†’ Lens for streaming:* https://amzn.to/2CdG31I
โ†’ Connect Camera#1 to PC:* https://amzn.to/2VDRhWj
โ†’ Camera#2 for electronics:* https://amzn.to/2LWxehv
โ†’ Lens for macro shots:* https://amzn.to/2C5tXrw
โ†’ Keyboard:* https://amzn.to/2LZgCFD
โ†’ Headphones:* https://amzn.to/2M2KhxW

-=[ โค๏ธ Support ]=-

โ†’ per Video: https://www.patreon.com/join/liveoverflow
โ†’ per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join

-=[ ๐Ÿ• Social ]=-

โ†’ Twitter: https://twitter.com/LiveOverflow/
โ†’ Website: https://liveoverflow.com/
โ†’ Subreddit: https://www.reddit.com/r/LiveOverflow/
โ†’ Facebook: https://www.facebook.com/LiveOverflow/

-=[ ๐Ÿ“„ P.S. ]=-

All links with "*" are affiliate links.
LiveOverflow / Security Flag GmbH is part of the Amazon Affiliate Partner Programm.







Tags:
Live Overflow
liveoverflow
hacking tutorial
how to hack
exploit tutorial
race condition
race-condition
syscall
renameat
rename
swap files
linux paths
procfs
proc filesystem
symlink
symlinks
race file paths
file paths racing
filedescriptor
fd
fstat
stat
open