TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #169 · 21 окт.

А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды. Что-то знакомое? Конечно, в Python есть примерно тоже самое. Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел. Давайте просто считать это совпадением 😉 А как это может быть полезно в Bash? Приведу простой пример, который оценят те, кто часто работает в терминале. Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем? :~$ mkdir foldername :~$ cd foldername :~/foldername$ Как это сделать в одну команду? :~$ mkdir foldername && cd foldername :~/foldername$ Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды. :~$ mkdir foldername && cd $_ :~/foldername$ _________________ PS. Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно. #linux#tricks

Резултати

Пронајдени 2 слични објави

Пребарај: #moonrise

当前筛选 #moonrise清除筛选
The Hacker News

@thehackernews · Post #8466 · 23.02.2026 г., 14:13

🚨 WARNING: A new Go-based RAT, #Moonrise, evades AVs and escalates from one infected endpoint to network-wide compromise. The impact includes credential theft and hidden audio/video surveillance. Protect your company with strong early detection: https://thn.news/enterprise-sec

Hashtags

The Hacker News

@thehackernews · Post #8467 · 23.02.2026 г., 14:13

🚨 Update Your Detection Rules: New Remote Access Trojan We caught a Go-based RAT and named it #Moonrise. At the time of the analysis, the sample had not yet been submitted to VirusTotal ❗️ The level of access enables credential harvesting, sensitive data collection, and preparation for further compromise without triggering static detections, leaving SOCs with no clear signals to act on. ⚠️ Observed capabilities include: 🔹 Privilege-related functions and persistence mechanisms 🔹 Data theft and credential harvesting 🔹 Process control and command execution 🔹 File upload and execution 🔹 User activity monitoring: screen capture and streaming, webcam and microphone access, keystroke logging, clipboard monitoring One compromised endpoint can disrupt operations and lead to financial and reputational damage. 👾See sample execution in a live analysis session ✅ Behavior-first triage in #ANYRUN Sandbox lets security teams confirm attacker actions, like remote command execution, UAC bypass attempts, and persistence-related activity, within minutes. Security teams reduce Tier-1 overload and unnecessary escalations, while containing incidents earlier. 👨‍💻 Equip your SOC with faster decisions and lower workload. See how ANY.RUN fits your workflows #ExploreWithANYRUN IOCs: 193[.]23[.]199[.]88 c7fd265b23b2255729eed688a211f8c3bd2192834c00e4959d1f17a0b697cd5e 8a422b8c4c6f9a183848f8d3d95ace69abb870549b593c080946eaed9e5457ad 7609c7ab10f9ecc08824db6e3c3fa5cbdd0dff2555276e216abe9eebfb80f59b Ed5471d42bef6b32253e9c1aba49b01b8282fd096ad0957abcf1a1e27e8f7551 082fdd964976afa6f9c5d8239f74990b24df3dfa0c95329c6e9f75d33681b9f4 8d7c1bbdb6a8bf074db7fc1185ffd59af0faffb08e0eb46a373c948147787268