Аудит, Разработка, ИБ, Поддержка и SEO сайтов

Category: Linux

Как в Linux найти все файлы НЕ содержащие строку

Например нам надо найти все php файлы, которые не содержат строку “/bitrix/footer.php” :

find .  -name "*.php"  -not  -ipath '.*svn*' -exec  grep  -H -E -o -c  "/bitrix/footer.php"  {} \; | grep 0

Или так (записать результат в файл):

find ./ -type f -name '*.php' -exec grep -L '/bitrix/footer.php' {} \; > result.txt

Когда консоль верно угадывает, чего ты хочешь, но все равно хочет, чтобы ее попросили без опечаток

Когда консоль верно угадывает, чего ты хочешь, но все равно хочет, чтобы ее попросили без опечаток

Kali Linux 2017.1

Distribution Release: Kali Linux 2017.1

Kali Linux is a Debian-based distribution which features several security and forensics tools. The project has adopted a rolling release approach to new versions. The new release, Kali Linux 2017.1, features drivers for RTL8812AU wireless chipsets, improved GPU support and there are now Azure and AWS images of Kali Linux for cloud instances. “Finally, it’s here! We’re happy to announce the availability of the Kali Linux 2017.1 rolling release, which brings with it a bunch of exciting updates and features. As with all new releases, you have the common denominator of updated packages, an updated kernel that provides more and better hardware support, as well as a slew of updated tools — but this release has a few more surprises up its sleeve. A while back, we received a feature request asking for the inclusion of drivers for RTL8812AU wireless chipsets. These drivers are not part of the standard Linux kernel, and have been modified to allow for injection. Why is this a big deal? This chipset supports 802.11 AC, making this one of the first drivers to bring injection-related wireless attacks to this standard.” A summary of available features in version 2017.1 can be found in the project’s release announcement. Download (SHA256): kali-linux-2017.1-amd64.iso (2,664MB, torrent, pkglist).

Distribution Release: Tails 2.12

Distribution Release: Tails 2.12

The Amnesic Incognito Live System (better known as Tails) is a Debian-based live DVD/USB with the goal of providing complete Internet anonymity for the user. The Tails project has announced the release of Tails 2.12 which features the GNOME Sound Recorder application and version 4.9.13 of the Linux kernel. Tails uses the Tor network to redirect network traffic and this release saw the project remove the alternative I2P anonymity network from the distribution. “We installed again GNOME Sound Recorder to provide a very simple application for recording sound in addition to the more complex Audacity. Sound clips recorded using GNOME Sound Recorder are saved to the Recordings folder. We removed I2P, an alternative anonymity network, because we unfortunately have failed to find a developer to maintain I2P in Tails. Maintaining software like I2P well-integrated in Tails takes time and effort and our team is too busy with other priorities. Upgrade Linux to 4.9.13. This should improve the support for newer hardware (graphics, Wi-Fi, etc.).” Additional information can be found in the project’s release announcement. Download: tails-i386-2.12.iso (1,090MB, signature, pkglist). Also available from OSDisc.

© 2007–2017, konyakov.ru