![]() Menu, lightshot, add, Clear selection, menu_clear Menu, lightshot, add, Select Full Screen % a_tab% Ctrl A, menu_ctrl Menu, lightshot, add, Save % a_tab% Ctrl S, menu_ctrl Menu, lightshot, add, Copy % a_tab% Ctrl C, menu_ctrl Menu, lightshot, add, Print % a_tab% Ctrl P, menu_ctrl Menu, lightshot, add, Upload to % a_tab% Ctrl D, menu_ctrl Menu, folder_menu, add, Add New Folder, add_folder ![]() Menu, folder_menu, add, % folder, set_folder If ( fileExist(folder)) and (folder != save_folder) IniRead, folder, % a_lineFile, folders, folder_% a_index% Menu, folder_menu, disable, % save_folder Menu, folder_menu, add, % save_folder, set_folder StringMid, parent_folder, save_folder, % pos 1 RegRead, capture_cursor, HKU, % lightshot_subkey, CaptureCursor RegRead, keep_selection, HKU, % lightshot_subkey, KeepSelection GoSub, rename_with_date rename any other 'screenshot_1.png' files WinWaitClose, Save As ahk_exe Lightshot.exe ![]() If winExist( "Save As ahk_exe Lightshot.exe ")įormatTime, formatted_time, % a_now, % time_formatĬontrolSetText, edit1, % prefix. WinGet, process_name, ProcessName, % "ahk_id " ls_id := lParam Save_folder := a_myDocuments "\Lightshot " RegRead, save_folder, HKU, % lightshot_subkey, LastSavedDir RegRead, dword, HKU, % lightshot_subkey, Formatįile_format := (dword = "1 ") ? "png " : (dword = "2 " ? "jpg " : "bmp ") file_extįormatTime, formatted_time, % a_loopFileTimeModified, % time_formatįileMove, % a_loopFileFullPath, % save_folder "\ " prefix. Loop, files, % save_folder() "\Screenshot_* ". #if winActive("ahk_exe Lightshot.exe",, "Save As") OnMessage( dllCall( "RegisterWindowMessage ", Str, "SHELLHOOK "), "shellMessage ") If (fullscreen) make hotkeys pass through to lightshotĭllCall( "RegisterShellHookWindow ", UInt, winExist()) code from SKAN IniRead, upload, % a_lineFile, settings, upload_hotkey IniRead, fullscreen, % a_lineFile, settings, fullscreen_hotkey IniRead, custom_menu, % a_lineFile, settings, custom_menu IniRead, time_format, % a_lineFile, settings, time_format IniRead, prefix, % a_lineFile, settings, prefix StringReplace, user_sid, a_loopRegSubKey, SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ If ( a_loopRegName = "ProfileImagePath ") Loop, HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList, 1, 1 get user SID Static code analysis of sLoad ($ver=”2.9.Description = improvements for lightshot () New Emotet spam campaign (July, 2020): emotet, This is a list of articles and writeup I have uploaded so far:įinding IOCs in a malicious Excel VBA mcacro: Loki, I am mainly interested in malware and threat hunting, but also enjoy an occasional CTF. Of course reinventing the wheel has been proved to be illogical, so I write something the moment I am not able to find the exact thing I am looking for online: if I must study it/do it myself, I might as well put it online for everybody to take advantange of the same way I take advantage of others’ work, right? In a way, this is also what motivates me. I use the word experiment intentionally: of all the things that intrigue me the most about this sector, the opportunity to just try and see the results is particularly fascinating, be it malware analysis, coding or offsec. This is a very simple space I am going to use to upload the results of my experiments in the realm of infosec, so that they can be easily shared.
0 Comments
Leave a Reply. |