Hak5 - Automate Everything, Using Expect, Hak5 1023.1
HTML-код
- Опубликовано: 8 сен 2024
- Hak5 -- Cyber Security Education, Inspiration, News & Community since 2005:
____________________________________________
This time on the show we're automating everything! Darren shows off intelligent scripting with expect for Linux. Then I'll be encrypting folders from a context menu in Gnome, pairing 'em with some cloud services and boom, you've got secure backups. Plus, multi-core GCC compiling, directory size scripting and can USB drives be trusted? All that and more this time on Hak5!
____________________________________________
Founded in 2005, Hak5's mission is to advance the InfoSec industry. We do this through our award winning educational podcasts, leading pentest gear, and inclusive community - where all hackers belong.
too much crap talk and very little value. Sorry correction... too tooo toooooo much crap talk.
I agree.
Greatest video on the internet!!! thank you!!!
The only thing I would want to add is when you are on a Linux box and have no idea where the bin is located you can always use, 'which' to find the location of the bin example: '>which expect' you should expect something like, '/usr/bin/expect.' Just add this to the beginning of your script with #! in front of it.
#!/usr/bin/expect
This is a great way to get hacked. Expect is a good tool, but I definitely wouldn't recommend following this example. A better real-world practical example would be to show folks how to setup ssh keys across hosts and utilize that with expect instead. It's never a good idea to have ANY plaintext file contain a password if said machine is connected to the Internet.
how does it know when you are done with interact and that you want the expect to resume
@RenegadeFury
Quick Google search for the word "grammar".
grammar
1. The study of how words and their component parts combine to form sentences.
@squidis If you don't drink, you haven't written enough code.
Good introduction but the small talk for the first 5 minutes is waaay too much.
Thanks for the heads up, saved me 5 minutes.
@BennyBlanc0FTB 10 bits is able to express 1024 unique values (2^10).
I recently found out about expect. I use it to automate daily reports that need to be ran. I thought no one used it anymore. I'd like to know what you think about saving your passwords in plan text though?
Look at that nice teal banner for the 15% off
Is it possible to use Expect within an Incrontab? If so how to do that. My .sh expect doesn't run when a file is created.
@RenegadeFury No, it is spelt "grammar".
Actual video start at 10.52
why Hak5Darren never replay to this comments?
Rubber Ducky at 14:24.
@reaper00020 What does it say when you type in "spelt"?
how is 1024 10 bits?
is that PACIFICO Com'on man.. Drink Victorias there the shit :) best beer from mexico...
How many minutes do you routinely waste at the beginning of a topic?
I went to Con-con for ex-cons.
i like her teeth
i like watching your videos and pretending i know what your talking about
@knight684 no it's spelled grammer
didnu go to school
@RenegadeFury correction fail
@TechHunter16 it wont work
Automated... WEP hacking!!!
@mafbbb Because the commenters can't spell reply
SKYNET
You guys wasted 5 mins of yapping unrelated subjects, so I stopped watching…
Is it just me or is Darren having a little problem with alkohol?
@reaper00020 GRAMMER
Does anybody know what type of drink is on the table? LOL
Pacifico Beer
video starts at 8:30
too much talk and little tech content
second
#!/usr/bin/expect us
first!
CAT opening a file... just sayin'
DAMN ONLIVE YOU HAVE A GAY ADD