Skip to content

Instantly share code, notes, and snippets.

View deejayy's full-sized avatar

deejayy (hu) deejayy

View GitHub Profile
@deejayy
deejayy / howto.txt
Created November 17, 2022 23:24
Add exceptions to Windows firewall based on blocked connections
Get-EventLog -Log Security -Newest 100 -InstanceId 5152 -Message "*%%14593*" | Sort-Object -Property TimeGenerated | Select-Object -ExpandProperty Message | ? { $_ -notlike "*svchost*" } | % { $_ -split "\r\n" } | ? { $_ -like "*Application Name*" -or $_ -like "*Destination*" } | % { $_ -replace "\\device\\harddiskvolume.",":" }
$path = Read-Host 'Path: '
$appName = Read-Host 'App name: '
$date = Get-Date -Format "yyyy-MM-dd"
Write-Output "XX $appName / $date"
New-NetFirewallRule -DisplayName "XX $appName / $date" -Direction Outbound -Program $path -Action Allow
@deejayy
deejayy / maderas.txt
Created November 16, 2021 19:07 — forked from heywoodlh/maderas.txt
Clone of the arsenal, armory & library by Maderas (@hackermaderas) -- https://pastebin.com/v8Mr2k95
The arsenal, armory & library by Maderas (@hackermaderas, #CyberpunkisNow) 6/8/2019
Original / 1st version here: https://pastebin.com/rMw4WbhX
___________________________________________________________________________________
# Basic knowledge requirements for Red Teaming, PenTesting, Hacking & Cybersecurity
# These are the basic competencies expected (and tested for during the in-person technical interview) by one of the largest, most visible InfoSec companies # on Earth.
<app-spinner *ngIf="someGetApiResult.loading$ | async"></app-spinner>
<app-table [data]="data$ | async"></app-table>
this.someGetApiResult.loading$.subscribe(loading => console.log(loading));
this.data$ = this.someGetApiResult.data$.pipe(map(someParsingLogic));
this.apiFacade.callApi(new SomePostApiCall({ property: 'value' }, false));
this.apiFacade.callApi({
url: '/api/get/some',
data: { property: 'value' },
useExisting: false,
});
import { ApiCallItem } from '@modules/api/model/api-call-item.model';
export class SomeGetApiCall implements ApiCallItem {
public url: string = '/api/get/some';
}
export class SomePostApiCall implements ApiCallItem {
public url: string = '/api/get/some#Distinctive-hashtag';
public auth: boolean = true;
this.someGetApiResult = this.apiFacade.createApiResults(new SomeGetApiCall());
// lazy!
this.someGetApiResult = this.apiFacade.createApiResults({ url: '/api/get/some' });
this.apiFacade.callApi(new SomeGetApiCall());
// or, lazy-way:
this.apiFacade.callApi({ url: '/api/get/some' });

Minden, amit érdemes tudni a zárkózott emberekről

Az introvertált (zárkózott) viselkedést sokan furcsának találják, főleg azok, akiknek épp ellenkező a személyisége. Sok olyan dolog van, amit a legtöbben sose gondolnának az introvertált személyiségről, íme néhány ismeretlen tény róluk.

11 tény az introvertált emberekről, amit a legtöbben nem tudnak

Nagyon is viccesek

Sokszor szeretnek inkább egyedül lenni. Szeretnek olvasni, filmet nézni, pihenni, kreatívnak lenni, álmodozni és ötletelni, és gyakran megnevettetik magukat. Téged is meg fognak, de csak akkor, ha elég kényelmesen érzik magukat melletted ahhoz, hogy megosszák veled a humorukat. Sok humorista is introvertált személyiség, ami megmagyarázza, hogy miért vesznek észre olyan dolgokat, amit mások aligha.

I greet you!
I have bad news for you.
11/08/2018 - on this day I hacked your operating system and got full
access to your account.
It is useless to change the password, my malware intercepts it every time.
How it was:
In the software of the router to which you were connected that day, there