Skip to content

Instantly share code, notes, and snippets.

View PH4NTOMiki's full-sized avatar
💭
Programming

Mihael Mutić PH4NTOMiki

💭
Programming
View GitHub Profile
@PH4NTOMiki
PH4NTOMiki / index.js
Last active June 20, 2021 15:43 — forked from mehulmpt/index.js
Slow Loris attack using Node
const net = require('net');
const opts = {
host: 'localhost',
port: 80,
//sockets: 8000,
sockets: 1000,
respawn: true,
//rate: 600,
rate: 5e3,
<!DOCTYPE html>
<html>
<!--
Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@PH4NTOMiki
PH4NTOMiki / embedded-file-viewer.md
Created December 12, 2020 20:41 — forked from tzmartin/embedded-file-viewer.md
Embedded File Viewer: Google Drive, OneDrive

Office Web Apps Viewer

('.ppt' '.pptx' '.doc', '.docx', '.xls', '.xlsx')

http://view.officeapps.live.com/op/view.aspx?src=[OFFICE_FILE_URL]

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=[OFFICE_FILE_URL]' width='px' height='px' frameborder='0'>
</iframe>

OneDrive Embed Links