query=<script>alert(9)</script>
post-content=<img src='foobar' onerror='alert(9)'>
URL=https://xss-game.appspot.com/level3/frame#1' onerror='alert(9)'>
import { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms'; | |
// Component code: | |
addFriendForm: FormGroup; | |
private _user = { | |
name: 'Amarabandu Rupasingha', | |
email: '[email protected]', | |
}; |
<form [formGroup]="addFriendForm" (ngSubmit)="send()"> | |
<div> | |
<label>Name</label> | |
<input type="text" formControlName="name"> | |
</div> | |
<div> | |
<label>Email</label> | |
<input type="text" formControlName="email"> | |
</div> | |
<form [formGroup]="addFriendForm" (ngSubmit)="onSubmit()"> | |
<input type="text" formControlName="name"> | |
<input type="text" formControlName="email"> | |
<button type="submit" | |
[disabled]="!f.valid">Submit!</button> | |
</form> | |
// Component | |
public addFriendForm: FormGroup; | |
constructor(formBuilder: FormBuilder) { |
<form #f="ngForm" (ngSubmit)="onSubmit()"> | |
<input type="text" [(ngModel)]="user.name" required> | |
<input type="text" [(ngModel)]="user.email" required> | |
<button type="submit" | |
[disabled]="!f.valid">Submit!</button> | |
</form> |
/* | |
---------------------- | |
NAVBAR | |
*/ | |
/* hide the comsoc logo */ | |
.comsoc-logo {display: none;} | |
#logos { | |
/*background-image: url(http://sites.ieee.org/r10-htc-2018/files/2018/02/logo1.png); |
Clear-Host |
{} |
# This is supposedly what CRIME by Juliano Rizzo and Thai Duong will do | |
# Algorithm by Thomas Pornin, coding by xorninja, improved by @kkotowicz | |
# http://security.blogoverflow.com/2012/09/how-can-you-protect-yourself-from-crime-beasts-successor/ | |
import string | |
import zlib | |
import sys | |
import random | |
charset = string.letters + string.digits + "%/+=" |