code stringlengths 1 1.49M | vector listlengths 0 7.38k | snippet listlengths 0 7.38k |
|---|---|---|
import sys
import cStringIO
import gluon.contrib.shell
import code, thread
from gluon.shell import env
if DEMO_MODE:
session.flash = T('disabled in demo mode')
redirect(URL('default','site'))
FE=10**9
def index():
app = request.args(0) or 'admin'
reset()
return dict(app=app)
def callback():
... | [
[
1,
0,
0.0222,
0.0222,
0,
0.66,
0,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0444,
0.0222,
0,
0.66,
0.1111,
764,
0,
1,
0,
0,
764,
0,
0
],
[
1,
0,
0.0667,
0.0222,
0,
... | [
"import sys",
"import cStringIO",
"import gluon.contrib.shell",
"import code, thread",
"from gluon.shell import env",
"if DEMO_MODE:\n session.flash = T('disabled in demo mode')\n redirect(URL('default','site'))",
" session.flash = T('disabled in demo mode')",
" redirect(URL('default','sit... |
### this works on linux only
try:
import fcntl
import subprocess
import signal
import os
except:
session.flash='sorry, only on Unix systems'
redirect(URL(request.application,'default','site'))
forever=10**8
def kill():
p = cache.ram('gae_upload',lambda:None,forever)
if not p or p.poll... | [
[
7,
0,
0.0833,
0.1026,
0,
0.66,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
1,
1,
0.0513,
0.0128,
1,
0.37,
0,
488,
0,
1,
0,
0,
488,
0,
0
],
[
1,
1,
0.0641,
0.0128,
1,
0.37,
... | [
"try:\n import fcntl\n import subprocess\n import signal\n import os\nexcept:\n session.flash='sorry, only on Unix systems'\n redirect(URL(request.application,'default','site'))",
" import fcntl",
" import subprocess",
" import signal",
" import os",
" session.flash='sorry... |
# -*- coding: utf-8 -*-
import os, uuid, re, pickle, urllib, glob
from gluon.admin import app_create, plugin_install
from gluon.fileutils import abspath
def reset(session):
session.app={
'name':'',
'params':[('title','My New App'),
('subtitle','powered by web2py'),
... | [
[
1,
0,
0.0053,
0.0018,
0,
0.66,
0,
688,
0,
6,
0,
0,
688,
0,
0
],
[
1,
0,
0.007,
0.0018,
0,
0.66,
0.0455,
158,
0,
2,
0,
0,
158,
0,
0
],
[
1,
0,
0.0088,
0.0018,
0,
0... | [
"import os, uuid, re, pickle, urllib, glob",
"from gluon.admin import app_create, plugin_install",
"from gluon.fileutils import abspath",
"def reset(session):\n session.app={\n 'name':'',\n 'params':[('title','My New App'),\n ('subtitle','powered by web2py'),\n ... |
def findMaxScore(scores):
winner = 'a1'
for i in scores:
if scores[i] > scores[winner]:
winner = i
return winner
| [
[
2,
0,
0.5833,
1,
0,
0.66,
0,
244,
0,
1,
1,
0,
0,
0,
0
],
[
14,
1,
0.3333,
0.1667,
1,
0.88,
0,
2,
1,
0,
0,
0,
0,
3,
0
],
[
6,
1,
0.6667,
0.5,
1,
0.88,
0.5,
... | [
"def findMaxScore(scores):\n winner = 'a1'\n for i in scores:\n if scores[i] > scores[winner]:\n winner = i\n return winner",
" winner = 'a1'",
" for i in scores:\n if scores[i] > scores[winner]:\n winner = i",
" if scores[i] > scores[winner]:\n ... |
import base64
import hashlib
import hmac
try:
# For Google AppEngine
from django.utils import simplejson
except ImportError:
# for web2py
from gluon.contrib import simplejson
def base64_url_decode(inp):
padding_factor = (4 - len(inp) % 4) % 4
inp += "="*padding_factor
return base64.b64deco... | [
[
1,
0,
0.0256,
0.0256,
0,
0.66,
0,
177,
0,
1,
0,
0,
177,
0,
0
],
[
1,
0,
0.0513,
0.0256,
0,
0.66,
0.1667,
154,
0,
1,
0,
0,
154,
0,
0
],
[
1,
0,
0.0769,
0.0256,
0,
... | [
"import base64",
"import hashlib",
"import hmac",
"try:\n # For Google AppEngine\n from django.utils import simplejson\nexcept ImportError:\n # for web2py\n from gluon.contrib import simplejson",
" from django.utils import simplejson",
" from gluon.contrib import simplejson",
"def base... |
#!/usr/bin/env python
#
# Copyright 2010 Facebook
#
# 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
#
# Unless required by applicable law or a... | [
[
8,
0,
0.1159,
0.0732,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.1585,
0.0041,
0,
0.66,
0.125,
934,
0,
1,
0,
0,
934,
0,
0
],
[
1,
0,
0.1626,
0.0041,
0,
0.66,... | [
"\"\"\"Python client library for the Facebook Platform.\n\nThis client library is designed to support the Graph API and the official\nFacebook JavaScript SDK, which is the canonical way to implement\nFacebook authentication. Read more about the Graph API at\nhttp://developers.facebook.com/docs/api. You can download... |
# -*- coding: utf-8 -*-
fb_auth_url = 'https://graph.facebook.com/oauth/authorize?'
app_url = 'http://apps.facebook.com/tao_tao'
fb_oae = {
'scope' : 'publish_stream',
'title' : '壓歲錢',
'url' : 'http://apps.facebook.com/lucky_money',
'id' : '140926039267506',
'secret': '8153a... | [
[
14,
0,
0.2,
0.1,
0,
0.66,
0,
10,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3,
0.1,
0,
0.66,
0.5,
219,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.7,
0.7,
0,
0.66,
1,
932,
... | [
"fb_auth_url = 'https://graph.facebook.com/oauth/authorize?'",
"app_url = 'http://apps.facebook.com/tao_tao'",
"fb_oae = {\n 'scope' : 'publish_stream',\n 'title' : '壓歲錢',\n 'url' : 'http://apps.facebook.com/lucky_money',\n 'id' : '140926039267506',\n 'secret': '8153abb6c... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'%s r... | [
[
8,
0,
0.5122,
0.9878,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',\... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"Uaktualnij" jest dodatkowym wyra\xc5\xbceniem postaci "pole1=\'nowawarto\xc5\x9b\xc4\x87\'". Nie mo\xc5\xbcesz uaktualni\xc4\x87 lub usun\xc4\x85\xc4\x87 wynik\xc3\xb3w z JOIN:',
'%Y-%m... | [
[
8,
0,
0.5123,
0.9877,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"Uaktualnij\" jest dodatkowym wyra\\xc5\\xbceniem postaci \"pole1=\\'nowawarto\\xc5\\x9b\\xc4\\x87\\'\". Nie mo\\xc5\\xbcesz uaktualni\\xc4\\x87 lub usun\\xc4\\x85\\xc4\\x87 wynik\\xc3\\xb... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"actualice" es una expresión opcional como "campo1=\'nuevo_valor\'". No se puede actualizar o eliminar resultados de un JOIN',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%... | [
[
8,
0,
0.5039,
0.9961,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"actualice\" es una expresión opcional como \"campo1=\\'nuevo_valor\\'\". No se puede actualizar o eliminar resultados de un JOIN',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%d... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" è un\'espressione opzionale come "campo1=\'nuovo valore\'". Non si può fare "update" o "delete" dei risultati di un JOIN ',
'%Y-%m-%d': '%d/%m/%Y',
'%Y-%m-%d %H:%M:%S': '%d/%m/%... | [
[
8,
0,
0.5096,
0.9904,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" è un\\'espressione opzionale come \"campo1=\\'nuovo valore\\'\". Non si può fare \"update\" o \"delete\" dei risultati di un JOIN ',\n'%Y-%m-%d': '%d/%m/%Y',\n'%Y-%m-%d %H:%M:%S'... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"Изменить" - необязательное выражение вида "field1=\'новое значение\'". Результаты операции JOIN нельзя изменить или удалить.',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:... | [
[
8,
0,
0.5104,
0.9896,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"Изменить\" - необязательное выражение вида \"field1=\\'новое значение\\'\". Результаты операции JOIN нельзя изменить или удалить.',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"Uaktualnij" jest dodatkowym wyra\xc5\xbceniem postaci "pole1=\'nowawarto\xc5\x9b\xc4\x87\'". Nie mo\xc5\xbcesz uaktualni\xc4\x87 lub usun\xc4\x85\xc4\x87 wynik\xc3\xb3w z JOIN:',
'%Y-%m... | [
[
8,
0,
0.5096,
0.9904,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"Uaktualnij\" jest dodatkowym wyra\\xc5\\xbceniem postaci \"pole1=\\'nowawarto\\xc5\\x9b\\xc4\\x87\\'\". Nie mo\\xc5\\xbcesz uaktualni\\xc4\\x87 lub usun\\xc4\\x85\\xc4\\x87 wynik\\xc3\\xb... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" è un\'espressione opzionale come "campo1=\'nuovo valore\'". Non si può fare "update" o "delete" dei risultati di un JOIN ',
'%Y-%m-%d': '%d/%m/%Y',
'%Y-%m-%d %H:%M:%S': '%d/%m/%... | [
[
8,
0,
0.5096,
0.9904,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" è un\\'espressione opzionale come \"campo1=\\'nuovo valore\\'\". Non si può fare \"update\" o \"delete\" dei risultati di un JOIN ',\n'%Y-%m-%d': '%d/%m/%Y',\n'%Y-%m-%d %H:%M:%S'... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'%s r... | [
[
8,
0,
0.5105,
0.9895,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',\... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" é uma expressão opcional como "field1=\'newvalue\'". Não pode actualizar ou eliminar os resultados de um JOIN',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',... | [
[
8,
0,
0.5086,
0.9914,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" é uma expressão opcional como \"field1=\\'newvalue\\'\". Não pode actualizar ou eliminar os resultados de um JOIN',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y.%m.%d.',
'%Y-%m-%d %H:%M:%S': '%Y.%m.%d. %H:%M:%S',
'%s... | [
[
8,
0,
0.5108,
0.9892,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN',\n'%Y-%m-%d': '%Y.%m.%d.',\n'%Y-%m-%d %H:%M:%S': '%Y.%m.%d. %H:%M:%S'... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" é uma expressão opcional como "campo1=\'novovalor\'". Você não pode atualizar ou apagar os resultados de um JOIN',
'%Y-%m-%d': '%d-%m-%Y ',
'%Y-%m-%d %H:%M:%S': '%d-%m-%Y %H:%M:... | [
[
8,
0,
0.507,
0.993,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" é uma expressão opcional como \"campo1=\\'novovalor\\'\". Você não pode atualizar ou apagar os resultados de um JOIN',\n'%Y-%m-%d': '%d-%m-%Y ',\n'%Y-%m-%d %H:%M:%S': '%d-%m-%Y %... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'%s r... | [
[
8,
0,
0.5094,
0.9906,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',\... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"更新" 是選擇性的條件式, 格式就像 "欄位1=\'值\'". 但是 JOIN 的資料不可以使用 update 或是 delete"',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
'%s rows deleted': '已刪除 %s 筆',
'%s rows updated': ... | [
[
8,
0,
0.5061,
0.9939,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"更新\" 是選擇性的條件式, 格式就像 \"欄位1=\\'值\\'\". 但是 JOIN 的資料不可以使用 update 或是 delete\"',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',\n'%s rows deleted': '已刪除 %s 筆',\n'%s rows up... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" é uma expressão opcional como "field1=\'newvalue\'". Não pode actualizar ou eliminar os resultados de um JOIN',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',... | [
[
8,
0,
0.5086,
0.9914,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" é uma expressão opcional como \"field1=\\'newvalue\\'\". Não pode actualizar ou eliminar os resultados de um JOIN',\n'%Y-%m-%d': '%Y-%m-%d',\n'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN',
'%Y-%m-%d': '%Y.%m.%d.',
'%Y-%m-%d %H:%M:%S': '%Y.%m.%d. %H:%M:%S',
'%s... | [
[
8,
0,
0.5108,
0.9892,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN',\n'%Y-%m-%d': '%Y.%m.%d.',\n'%Y-%m-%d %H:%M:%S': '%Y.%m.%d. %H:%M:%S'... |
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" je voliteľný výraz ako "field1=\'newvalue\'". Nemôžete upravovať alebo zmazať výsledky JOINu',
'%Y-%m-%d': '%d.%m.%Y',
'%Y-%m-%d %H:%M:%S': '%d.%m.%Y %H:%M:%S',
'%s rows deleted... | [
[
8,
0,
0.509,
0.991,
0,
0.66,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
] | [
"{\n'\"update\" is an optional expression like \"field1=\\'newvalue\\'\". You cannot update or delete the results of a JOIN': '\"update\" je voliteľný výraz ako \"field1=\\'newvalue\\'\". Nemôžete upravovať alebo zmazať výsledky JOINu',\n'%Y-%m-%d': '%d.%m.%Y',\n'%Y-%m-%d %H:%M:%S': '%d.%m.%Y %H:%M:%S',\n'%s rows d... |
response.title = settings.title
response.subtitle = settings.subtitle
response.meta.author = '%s <%s>' % (settings.author, settings.author_email)
response.meta.keywords = settings.keywords
response.meta.description = settings.description
response.menu = [
(T('Index'),URL('index').xml()==URL().xml(),URL('index'),[]... | [
[
14,
0,
0.2222,
0.1111,
0,
0.66,
0,
547,
7,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3333,
0.1111,
0,
0.66,
0.2,
9,
7,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.4444,
0.1111,
0,
0.66,
... | [
"response.title = settings.title",
"response.subtitle = settings.subtitle",
"response.meta.author = '%s <%s>' % (settings.author, settings.author_email)",
"response.meta.keywords = settings.keywords",
"response.meta.description = settings.description",
"response.menu = [\n (T('Index'),URL('index').xml(... |
# -*- coding: utf-8 -*-
from gluon.storage import Storage
settings = Storage()
settings.migrate = False
settings.title = '\xe5\x8e\x8b\xe5\xb2\x81\xe9\x92\xb1'
settings.subtitle = 'powered by web2py'
settings.author = 'Zhe'
settings.author_email = 'linuxcity.jn@gmail.com'
settings.keywords = '\xe5\x8e\x8b\xe5\xb2\x81\... | [
[
1,
0,
0.0769,
0.0385,
0,
0.66,
0,
696,
0,
1,
0,
0,
696,
0,
0
],
[
14,
0,
0.1154,
0.0385,
0,
0.66,
0.05,
168,
3,
0,
0,
0,
850,
10,
1
],
[
14,
0,
0.1923,
0.0385,
0,
... | [
"from gluon.storage import Storage",
"settings = Storage()",
"settings.migrate = False",
"settings.title = '\\xe5\\x8e\\x8b\\xe5\\xb2\\x81\\xe9\\x92\\xb1'",
"settings.subtitle = 'powered by web2py'",
"settings.author = 'Zhe'",
"settings.author_email = 'linuxcity.jn@gmail.com'",
"settings.keywords = '\... |
# -*- coding: utf-8 -*-
# this file is released under public domain and you can use without limitations
#########################################################################
## This scaffolding model makes your app work on Google App Engine too
######################################################################... | [
[
4,
0,
0.0916,
0.0687,
0,
0.66,
0,
0,
7,
0,
0,
0,
0,
0,
3
],
[
14,
1,
0.0687,
0.0076,
1,
0.51,
0,
761,
3,
1,
0,
0,
18,
10,
1
],
[
8,
1,
0.0763,
0.0076,
1,
0.51,
... | [
"if request.env.web2py_runtime_gae: # if running on Google App Engine\n db = DAL('gae://mynamespace') # connect to Google BigTable\n session.connect(request, response, db = db) # and store sessions and tickets there\n ### or use the following lines to store sessions in Memcache\n ... |
### we prepend t_ to tablenames and f_ to fieldnames for disambiguity
| [] | [] |
# -*- coding: utf-8 -*-
### required - do no delete
import facebook
from facebook import GraphAPIError
import fb_helpers
import logging
logging.getLogger().setLevel(logging.ERROR)
def user(): return dict(form=auth())
def download(): return response.download(request,db)
def call():
session.forget()
return servi... | [
[
1,
0,
0.0187,
0.0063,
0,
0.66,
0,
94,
0,
1,
0,
0,
94,
0,
0
],
[
1,
0,
0.025,
0.0063,
0,
0.66,
0.0417,
94,
0,
1,
0,
0,
94,
0,
0
],
[
1,
0,
0.0312,
0.0063,
0,
0.66,... | [
"import facebook",
"from facebook import GraphAPIError",
"import fb_helpers",
"import logging",
"logging.getLogger().setLevel(logging.ERROR)",
"def user(): return dict(form=auth())",
"def user(): return dict(form=auth())",
"def download(): return response.download(request,db)",
"def download(): retu... |
password="cfcd208495d565ef66e7dff9f98764da"
| [
[
14,
0,
1,
1,
0,
0.66,
0,
489,
1,
0,
0,
0,
0,
3,
0
]
] | [
"password=\"cfcd208495d565ef66e7dff9f98764da\""
] |
def webapp_add_wsgi_middleware(app):
from google.appengine.ext.appstats import recording
app = recording.appstats_wsgi_middleware(app)
return app
| [
[
2,
0,
0.625,
1,
0,
0.66,
0,
156,
0,
1,
1,
0,
0,
0,
1
],
[
1,
1,
0.5,
0.25,
1,
0.46,
0,
215,
0,
1,
0,
0,
215,
0,
0
],
[
14,
1,
0.75,
0.25,
1,
0.46,
0.5,
49... | [
"def webapp_add_wsgi_middleware(app):\n from google.appengine.ext.appstats import recording\n app = recording.appstats_wsgi_middleware(app)\n return app",
" from google.appengine.ext.appstats import recording",
" app = recording.appstats_wsgi_middleware(app)",
" return app"
] |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This file is part of the web2py Web Framework
Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
"""
import os
import sys
import wsgiref.handlers
path = os.path.dirname(os.path.abspath(__file__))
os.chdi... | [
[
8,
0,
0.3,
0.25,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.5,
0.05,
0,
0.66,
0.125,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.55,
0.05,
0,
0.66,
0.25,
... | [
"\"\"\"\nThis file is part of the web2py Web Framework\nCopyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>\nLicense: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)\n\"\"\"",
"import os",
"import sys",
"import wsgiref.handlers",
"path = os.path.dirname(os.path.abspath(__file__))",
"os.chdir(path)",... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
# default_application, default_controller, default_function
# are used when the respective element is missing from the
# (possibly rewritten) incoming URL
#
default_application = 'init' # ordinarily set in base routes.py
default_controller = 'default' # ordinarily set in a... | [
[
14,
0,
0.0552,
0.0069,
0,
0.66,
0,
558,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.0621,
0.0069,
0,
0.66,
0.1429,
335,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.069,
0.0069,
0,
0.... | [
"default_application = 'init' # ordinarily set in base routes.py",
"default_controller = 'default' # ordinarily set in app-specific routes.py",
"default_function = 'index' # ordinarily set in app-specific routes.py",
"routes_app = ((r'/(?P<app>welcome|admin|app)\\b.*', r'\\g<app>'),\n (r... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
if '__file__' in globals():
path = os.path.dirname(os.path.abspath(__file__))
os.chdir(path)
else:
path = os.getcwd() # Seems necessary for py2exe
sys.path = [path]+[p for p in sys.path if not p==path]
# import gluon.import_all ##### Thi... | [
[
1,
0,
0.2105,
0.0526,
0,
0.66,
0,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.2632,
0.0526,
0,
0.66,
0.2,
509,
0,
1,
0,
0,
509,
0,
0
],
[
4,
0,
0.4737,
0.2632,
0,
0.6... | [
"import os",
"import sys",
"if '__file__' in globals():\n path = os.path.dirname(os.path.abspath(__file__))\n os.chdir(path)\nelse:\n path = os.getcwd() # Seems necessary for py2exe",
" path = os.path.dirname(os.path.abspath(__file__))",
" os.chdir(path)",
" path = os.getcwd() # Seems ne... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This file is part of the web2py Web Framework
Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
"""
##############################################################################
# Configuration paramete... | [
[
8,
0,
0.0556,
0.0463,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1204,
0.0093,
0,
0.66,
0.0333,
699,
1,
0,
0,
0,
0,
4,
0
],
[
14,
0,
0.1296,
0.0093,
0,
0.66... | [
"\"\"\"\nThis file is part of the web2py Web Framework\nCopyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>\nLicense: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)\n\"\"\"",
"KEEP_CACHED = False # request a dummy url every 10secs to force caching app",
"LOG_STATS = False # web2py level log stati... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3,
0.0167,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.35,
0.0167,
0,
0.66,
0.1111,
701,
0,
1,
0,
0,
701,
0,
0
],
[
1,
0,
0.3667,
0.0167,
0,
0.66,
... | [
"\"\"\"Common data types for Microsoft Office artifacts.\"\"\"",
"from lf.dtypes import LERecord",
"from lf.win.dtypes import UINT8, UINT16, UINT32",
"from lf.win.ole.ps.dtypes import TypedPropertyValue_VT_I4",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"PropertySetSystemIdentifier\",\n... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0336,
0.0019,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0393,
0.0019,
0,
0.66,
0.0556,
220,
0,
1,
0,
0,
220,
0,
0
],
[
1,
0,
0.0411,
0.0019,
0,
0.66... | [
"\"\"\"Shared metadata for Microsoft Office documents.\"\"\"",
"from codecs import getdecoder",
"from uuid import UUID",
"from lf.dec import ByteIStream",
"from lf.dtypes import Structuple",
"from lf.win.codepage.consts import code_page_names",
"from lf.win.ole.ps.consts import (\n CODEPAGE_PROPERTY_... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.5,
0.0278,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.625,
0.1111,
0,
0.66,
0.1429,
108,
0,
4,
0,
0,
108,
0,
0
],
[
14,
0,
0.7222,
0.0278,
0,
0.66,
... | [
"\"\"\"Common Microsoft Office ctypes.\"\"\"",
"from lf.apps.msoffice.shared.dtypes import (\n PropertySetSystemIdentifier,\n VtHyperlinkHeader, DigSigInfoSerializedHeader, DigSigBlobHeader\n)",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"property_set_system_identifier\",\n \"vt_hy... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
1,
0,
0.5357,
0.1905,
0,
0.66,
0,
278,
0,
26,
0,
0,
278,
0,
0
],
[
1,
0,
0.6905,
0.0714,
0,
0.66,
0.5,
192,
0,
3,
0,
0,
192,
0,
0
],
[
14,
0,
0.881,
0.2619,
0,
0.... | [
"from lf.apps.msoffice.shared.objects import (\n PropertySetSystemIdentifier, PropertySetStreamHeader, VtThumbnailValue,\n Lpstr, UnalignedLpstr, VtVecUnalignedLpstrValue, Lpwstr, VtVecLpwstrValue,\n VtHeadingPair, VtVecHeadingPairValue, VtDigSigValue, VtHyperlink,\n VecVtHyperlink, VtHyperlinkValue, Di... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0106,
0.0006,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0123,
0.0006,
0,
0.66,
0.0244,
220,
0,
1,
0,
0,
220,
0,
0
],
[
1,
0,
0.0141,
0.0006,
0,
0.66... | [
"\"\"\"Shared objects for Microsoft Office property sets.\"\"\"",
"from codecs import getdecoder",
"from lf.dec import SEEK_SET",
"from lf.dtypes import ActiveStructuple",
"from lf.dtypes.ctypes import uint32_le",
"from lf.win.codepage.consts import CP_WINUNICODE, code_page_names",
"from lf.win.ole.ps.c... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1259,
0.007,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1399,
0.007,
0,
0.66,
0.0192,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.2133,
0.1399,
0,
0.66,
... | [
"\"\"\"Shared constants for various Microsoft Office products.\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"PIDSI_CODEPAGE\", \"PIDSI_TITLE\", \"PIDSI_SUBJECT\", \"PIDSI_AUTHOR\",\n \"PIDSI_KEYWORDS\", \"PIDSI_COMMENTS\", \"PIDSI_TEMPLATE\", \"PIDSI_LAST_AUTHOR\",\n \"PIDSI_REV_N... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.093,
0.0233,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1116,
0.0047,
0,
0.66,
0.2,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1256,
0.014,
0,
0.66,
... | [
"\"\"\"\nMetadata from Microsoft Word documents.\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"WordMetadata\"\n]",
"from datetime import date",
"from lf.apps.msoffice.word.objects import Fib, SttbShortUnicode",
"class W... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0543,
0.0136,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0652,
0.0027,
0,
0.66,
0.04,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.0761,
0.019,
0,
0.66,
... | [
"\"\"\"\nStructures for Microsoft Word documents.\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"FcLcb\", \"FcPgdOld\", \"FcPgd\", \"FibHeader\", \"FibShorts\", \"FibLongs\",\n \"Fib\", \"FibFcLcb97\", \"FibFcLcb2000\", \"F... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3846,
0.0962,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.4615,
0.0192,
0,
0.66,
0.0556,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.5288,
0.1154,
0,
0.66... | [
"\"\"\"\nExtractors for Microsoft Word.\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"fc_lcb\", \"fc_pgd_old\", \"fc_pgd\", \"fib_header\", \"fib_shorts\", \"fib_longs\",\n \"fib\", \"fib_fc_lcb_97\", \"fib_fc_lcb_2000\", ... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"consts\", \"extractors\", \"metadata\", \"objects\", \"datatypes\"\n]"
] |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0552,
0.0138,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0663,
0.0028,
0,
0.66,
0.0667,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.0718,
0.0083,
0,
0.66... | [
"\"\"\"\nObjects for Microsoft Word.\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"Fib\", \"SttbShort\", \"SttbLong\", \"SttbShortUnicode\", \"SttbLongUnicode\"\n]",
"from copy import copy",
"from lf.io.consts import SEEK... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.303,
0.0758,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3636,
0.0152,
0,
0.66,
0.0323,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3864,
0.0303,
0,
0.66,... | [
"\"\"\"\nConstants for Microsoft Word.\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n]",
"NFIB_WIN_WORD_1 = 0x21 # WinWord 1.0",
"NFIB_WIN_WORD_2 = 0x2D # WinWord 2.0",
"NFIB_WIN_WORD_6_16 = 0x101 # WinWord 6.0c for 16bit",
... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"shared\", \"word\"\n]"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"msoffice\"\n]"
] |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [] | [] |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3175,
0.0794,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.381,
0.0159,
0,
0.66,
0.0417,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4444,
0.0794,
0,
0.66,... | [
"\"\"\"\nDecoders for the FAT file system\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"ext_flags\", \"fs_ver\", \"fat12fat_entry_even\", \"fat12fat_entry_odd\",\n \"fat12fat_entry0\", \"fat16fat_entry0\", \"fat32fat_entry... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.4444,
0.1111,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5333,
0.0222,
0,
0.66,
0.0714,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.6111,
0.0889,
0,
0.66... | [
"\"\"\"\nConvenience module that contains pre-built extractors for the FAT file system\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"boot_sector_fat1216\", \"boot_sector_fat32\", \"fsinfo\", \"fat_entry_fat12\",\n \"fat_en... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1117,
0.0279,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1341,
0.0056,
0,
0.66,
0.0625,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1564,
0.0279,
0,
0.66... | [
"\"\"\"\nData structures for the FAT file system\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"BPB_FAT1216\", \"BPB_FAT32\", \"EXT_BPB\", \"BootSector_FAT1216\",\n \"BootSector_FAT32\", \"FSInfo\", \"FATEntry_FAT12\", \"FA... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"consts\", \"structs\", \"decoders\", \"extractors\"\n]"
] |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3175,
0.0794,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.381,
0.0159,
0,
0.66,
0.0385,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4683,
0.127,
0,
0.66,
... | [
"\"\"\"\nConstants for the FAT file system.\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"MAX_CLUST_COUNT_FAT12\", \"MAX_CLUST_COUNT_FAT16\", \"UNALLOC_FAT\",\n \"EOC_FAT12\", \"EOC_FAT16\", \"EOC_FAT32\", \"BAD_FAT12\", \... |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"fat\", \"ntfs\"\n]"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1216,
0.0068,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.1419,
0.0068,
0,
0.66,
0.1667,
902,
0,
1,
0,
0,
902,
0,
0
],
[
1,
0,
0.1486,
0.0068,
0,
0.66... | [
"\"\"\"Digital evidence containers composed of subets of other streams.\"\"\"",
"from lf.dec.consts import SEEK_SET",
"from lf.dec.base import SingleStreamContainer, ManagedIStream",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"Composite\", \"CompositeIStream\"\n]",
"class Composite(Sing... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0427,
0.0024,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0498,
0.0024,
0,
0.66,
0.1,
518,
0,
1,
0,
0,
518,
0,
0
],
[
1,
0,
0.0569,
0.0024,
0,
0.66,
... | [
"\"\"\"Base classes for Digital Evidence Containers (DECs)\"\"\"",
"from io import RawIOBase",
"from lf.dec.consts import SEEK_SET, SEEK_CUR, SEEK_END",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"Container\", \"SingleStreamContainer\", \"StreamInfo\", \"IStream\",\n \"ManagedIStream\"... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.2169,
0.012,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.253,
0.012,
0,
0.66,
0.1667,
518,
0,
1,
0,
0,
518,
0,
0
],
[
1,
0,
0.2892,
0.012,
0,
0.66,
... | [
"\"\"\"Digital evidence container for raw/dd files.\"\"\"",
"from io import BytesIO",
"from lf.dec.base import SingleStreamContainer, IStreamWrapper",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"Byte\", \"ByteIStream\"\n]",
"class Byte(SingleStreamContainer):\n \"\"\"A container file... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.2571,
0.0143,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.3,
0.0143,
0,
0.66,
0.125,
902,
0,
1,
0,
0,
902,
0,
0
],
[
1,
0,
0.3143,
0.0143,
0,
0.66,
... | [
"\"\"\"A stream for a raw/dd file that has been split into multiple pieces.\"\"\"",
"from lf.dec.consts import SEEK_SET",
"from lf.dec.base import SingleStreamContainer",
"from lf.dec.composite import CompositeIStream",
"from lf.dec.raw import RawIStream",
"__docformat__ = \"restructuredtext en\"",
"__a... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1525,
0.0085,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.178,
0.0085,
0,
0.66,
0.1667,
902,
0,
1,
0,
0,
902,
0,
0
],
[
1,
0,
0.1864,
0.0085,
0,
0.66,... | [
"\"\"\"Digital evidence containers that are a subset of a stream.\"\"\"",
"from lf.dec.consts import SEEK_SET",
"from lf.dec.base import SingleStreamContainer, ManagedIStream",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"Subset\", \"SubsetIStream\"\n]",
"class Subset(SingleStreamContain... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.24,
0.0133,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.28,
0.0133,
0,
0.66,
0.1429,
518,
0,
1,
0,
0,
518,
0,
0
],
[
1,
0,
0.2933,
0.0133,
0,
0.66,
... | [
"\"\"\"Digital Evidence Container for raw/dd files.\"\"\"",
"import io",
"import os",
"from lf.dec.base import SingleStreamContainer, IStreamWrapper",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"Raw\", \"RawIStream\"\n]",
"class Raw(SingleStreamContainer):\n \"\"\"A container for r... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.5,
0.0278,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.5833,
0.0278,
0,
0.66,
0.1111,
902,
0,
3,
0,
0,
902,
0,
0
],
[
1,
0,
0.6111,
0.0278,
0,
0.66,
... | [
"\"\"\"Digital Evidence Containers\"\"\"",
"from lf.dec.consts import SEEK_SET, SEEK_CUR, SEEK_END",
"from lf.dec.base import Container, SingleStreamContainer, StreamInfo",
"from lf.dec.subset import Subset, SubsetIStream",
"from lf.dec.composite import Composite, CompositeIStream",
"from lf.dec.raw impor... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.7826,
0.0435,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.8696,
0.0435,
0,
0.66,
0.3333,
518,
0,
3,
0,
0,
518,
0,
0
],
[
14,
0,
0.9565,
0.0435,
0,
0.6... | [
"\"\"\"Constants for Digital Evidence Containers\"\"\"",
"from io import SEEK_SET, SEEK_CUR, SEEK_END",
"__docformat__ = \"restructuredtext en\"",
"__all__ = []"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0735,
0.0041,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0857,
0.0041,
0,
0.66,
0.0769,
616,
0,
1,
0,
0,
616,
0,
0
],
[
1,
0,
0.0898,
0.0041,
0,
0.66... | [
"\"\"\"Data types composed of primitive data types.\"\"\"",
"from operator import itemgetter",
"from collections import OrderedDict",
"from ctypes import (\n LittleEndianStructure, BigEndianStructure, c_uint8\n)",
"from lf.dtypes.base import Primitive",
"from lf.dtypes.consts import BIG_ENDIAN, LITTLE_... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3103,
0.0172,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.3621,
0.0172,
0,
0.66,
0.1667,
182,
0,
1,
0,
0,
182,
0,
0
],
[
1,
0,
0.4138,
0.0172,
0,
0.66... | [
"\"\"\"Base classes for data types\"\"\"",
"from ctypes import c_ubyte",
"from lf.dtypes.base import Primitive",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"Basic\", \"raw\"\n]",
"class Basic(Primitive):\n \"\"\"Base class for :class:`Basic` data types.\"\"\"\n\n pass",
" \"\... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0359,
0.002,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0419,
0.002,
0,
0.66,
0.0588,
890,
0,
1,
0,
0,
890,
0,
0
],
[
1,
0,
0.0439,
0.002,
0,
0.66,
... | [
"\"\"\"Support for a Data Access Layer (DAL)\"\"\"",
"from string import Template",
"from ctypes import sizeof",
"from operator import itemgetter",
"from itertools import count",
"from keyword import iskeyword",
"from lf.dec import ByteIStream",
"from lf.dec.consts import SEEK_SET",
"__docformat__ =... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3529,
0.0196,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3922,
0.0196,
0,
0.66,
0.25,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4314,
0.0588,
0,
0.66,
... | [
"\"\"\"Base classes for data types.\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"DataType\", \"Primitive\"\n]",
"class DataType():\n \"\"\"Base class for data types supported by the framework.\n\n .. attribute:: _size_\n\n The size of the data type. The units (e.g. bits... |
# Copyright 2010 Michael Murr
#
# This fi_le is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ve... | [
[
8,
0,
0.3214,
0.0179,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.4018,
0.0714,
0,
0.66,
0.0476,
182,
0,
10,
0,
0,
182,
0,
0
],
[
14,
0,
0.4643,
0.0179,
0,
0.... | [
"\"\"\"Convenience module for using native ctypes.\"\"\"",
"from ctypes import (\n c_uint8, c_int8, c_uint16, c_int16, c_uint32, c_int32, c_uint64, c_int64,\n c_float, c_double\n)",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"int8\", \"uint8\",\n \"int16_le\", \"int16_be\", \"uint1... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0213,
0.0012,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0248,
0.0012,
0,
0.66,
0.1667,
902,
0,
1,
0,
0,
902,
0,
0
],
[
1,
0,
0.0295,
0.0083,
0,
0.66... | [
"\"\"\"Reads builtin datatypes from a stream.\"\"\"",
"from lf.dec.consts import SEEK_SET",
"from lf.dtypes.ctypes import (\n int8, uint8,\n int16_le, uint16_le, int16_be, uint16_be,\n int32_le, uint32_le, int32_be, uint32_be,\n int64_le, uint64_le, int64_be, uint64_be,\n float32_le, float32_be, ... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1636,
0.0091,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.1909,
0.0091,
0,
0.66,
0.0625,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.2136,
0.0364,
0,
0.66... | [
"\"\"\"Data types that have native support in the :mod:`ctypes` module.\"\"\"",
"from math import ceil",
"from ctypes import (\n c_int8, c_uint8, c_int16, c_uint16, c_int32, c_uint32, c_int64, c_uint64,\n c_float, c_double\n)",
"from lf.dtypes.basic import Basic",
"__docformat__ = \"restructuredtext e... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0984,
0.0055,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.1148,
0.0055,
0,
0.66,
0.0556,
193,
0,
1,
0,
0,
193,
0,
0
],
[
1,
0,
0.1257,
0.0164,
0,
0.66... | [
"\"\"\"Bit-oriented data types.\"\"\"",
"from collections import OrderedDict",
"from ctypes import (\n c_int8, c_uint8, c_int16, c_uint16, c_int32, c_uint32, c_int64, c_uint64\n)",
"from lf.dtypes.base import DataType",
"from lf.dtypes.basic import Basic",
"__docformat__ = \"restructuredtext en\"",
"... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.375,
0.0208,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.4375,
0.0208,
0,
0.66,
0.1,
677,
0,
2,
0,
0,
677,
0,
0
],
[
1,
0,
0.4583,
0.0208,
0,
0.66,
... | [
"\"\"\"Describe and read data types.\"\"\"",
"from lf.dtypes.base import DataType, Primitive",
"from lf.dtypes.basic import Basic, raw",
"from lf.dtypes.native import (\n Native, int8, uint8, int16, uint16, int32, uint32, int64, uint64, float32,\n float64\n)",
"from lf.dtypes.bits import (\n bits, ... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.6429,
0.0357,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.7143,
0.0357,
0,
0.66,
0.1667,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.7857,
0.1071,
0,
0.66... | [
"\"\"\"Constants for working with data types.\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"LITTLE_ENDIAN\", \"BIG_ENDIAN\", \"NETWORK_ENDIAN\", \"DEFAULT_ENDIAN\"\n]",
"LITTLE_ENDIAN = \"<\"",
"BIG_ENDIAN = \">\"",
"NETWORK_ENDIAN = \"!\"",
"DEFAULT_ENDIAN = LITTLE_ENDIAN"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"apps\", \"excepts\", \"fs\", \"dec\", \"dtypes\", \"utils\", \"win\", \"time\"\n]"
] |
# Copyright 2009 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.4348,
0.1087,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5217,
0.0217,
0,
0.66,
0.2,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.587,
0.0652,
0,
0.66,
... | [
"\"\"\"\nExceptions used in the framework.\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"LFException\", \"RuntimeError\", \"InvalidFormatError\"\n]",
"class LFException(Exception):\n \"\"\"Base class for all framework re... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0576,
0.0144,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0764,
0.0115,
0,
0.66,
0.0137,
701,
0,
16,
0,
0,
701,
0,
0
],
[
14,
0,
0.0865,
0.0029,
0,
0.... | [
"\"\"\"Common data types for Microsoft Windows artifacts.\n\nA lot of this information can be found at:\nhttp://spreadsheets.google.com/ccc?key=pK5CEcdG9GYGeO7K2dmEcBg\n\"\"\"",
"from lf.dtypes import (\n int8, uint8, int16, uint16, int32, uint32, int64, uint64, float32, float64,\n LERecord, BitTypeU16, Bit... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.4865,
0.027,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.5676,
0.027,
0,
0.66,
0.1667,
701,
0,
2,
0,
0,
701,
0,
0
],
[
1,
0,
0.5946,
0.027,
0,
0.66,
... | [
"\"\"\"Data types for Microsoft Windows consoles\"\"\"",
"from lf.dtypes import LERecord, BERecord",
"from lf.win.dtypes import SHORT",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"COORD_LE\", \"COORD_BE\"\n]",
"class COORD_LE(LERecord):\n x = SHORT\n y = SHORT",
" x = SHORT",... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.6207,
0.0345,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.7241,
0.0345,
0,
0.66,
0.2,
193,
0,
2,
0,
0,
193,
0,
0
],
[
14,
0,
0.7931,
0.0345,
0,
0.66,
... | [
"\"\"\"Ctypes classes for the record data types in lf.win.con.dtypes\"\"\"",
"from lf.win.con.dtypes import COORD_LE, COORD_BE",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"coord_le\", \"coord_be\"\n]",
"coord_le = COORD_LE._ctype_",
"coord_be = COORD_BE._ctype_"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"consts\", \"dtypes\", \"ctypes\", \"objects\"\n]"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1915,
0.0106,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.2234,
0.0106,
0,
0.66,
0.1667,
864,
0,
1,
0,
0,
864,
0,
0
],
[
1,
0,
0.234,
0.0106,
0,
0.66,... | [
"\"\"\"Value objects (and factories) for Microsoft Windows console structures\"\"\"",
"from lf.dec import SEEK_SET",
"from lf.dtypes import LITTLE_ENDIAN, ActiveStructuple",
"from lf.win.con.ctypes import coord_le, coord_be",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"COORD\"\n]",
"c... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.5,
0.0278,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5556,
0.0278,
0,
0.66,
0.1,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.6667,
0.1944,
0,
0.66,
... | [
"\"\"\"Constants for working with the Windows console\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"FOREGROUND_BLUE\", \"FOREGROUND_GREEN\", \"FOREGROUND_RED\",\n \"FOREGROUND_INTENSITY\",\n\n \"BACKGROUND_BLUE\", \"BACKGROUND_GREEN\", \"BACKGROUND_RED\",\n \"BACKGROUND_INTENSI... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3273,
0.0182,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.3818,
0.0182,
0,
0.66,
0.125,
701,
0,
2,
0,
0,
701,
0,
0
],
[
1,
0,
0.4,
0.0182,
0,
0.66,
... | [
"\"\"\"Data types to read thumbs.db files.\"\"\"",
"from lf.dtypes import raw, LERecord",
"from lf.win.dtypes import UINT32, FILETIME_LE",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"CatalogHeader\", \"CatalogEntryHeader\", \"EntryHeader\", \"EntryHeaderOld\"\n]",
"class CatalogHeader(L... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.5294,
0.0294,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.6471,
0.0882,
0,
0.66,
0.1429,
676,
0,
4,
0,
0,
676,
0,
0
],
[
14,
0,
0.7353,
0.0294,
0,
0.6... | [
"\"\"\"Thumbs.db ctypes\"\"\"",
"from lf.win.shell.thumbsdb.dtypes import (\n CatalogHeader, CatalogEntryHeader, EntryHeader, EntryHeaderOld\n)",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"catalog_header\", \"catalog_entry_header\", \"entry_header\",\n \"entry_header_old\"\n]",
"ca... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
1,
0,
0.8,
0.12,
0,
0.66,
0,
253,
0,
4,
0,
0,
253,
0,
0
],
[
14,
0,
0.96,
0.12,
0,
0.66,
1,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"from lf.win.shell.thumbsdb.objects import (\n ThumbsDb, Thumbnail, Catalog, CatalogEntry\n)",
"__all__ = [\n \"ThumbsDb\", \"Thumbnail\", \"Catalog\", \"CatalogEntry\"\n]"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0638,
0.0035,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0745,
0.0035,
0,
0.66,
0.0833,
220,
0,
1,
0,
0,
220,
0,
0
],
[
1,
0,
0.0851,
0.0035,
0,
0.66... | [
"\"\"\"Objects to work with thumbnail cache (thumbs.db) files.\"\"\"",
"from codecs import getdecoder",
"from lf.dec import SEEK_SET",
"from lf.dtypes import ActiveStructuple",
"from lf.time import FILETIMETodatetime",
"from lf.win.shell.thumbsdb.ctypes import (\n catalog_header, catalog_entry_header, ... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0804,
0.0045,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0938,
0.0045,
0,
0.66,
0.0357,
701,
0,
4,
0,
0,
701,
0,
0
],
[
1,
0,
0.1049,
0.0179,
0,
0.66... | [
"\"\"\"Data structures to work with shell link files\"\"\"",
"from lf.dtypes import LERecord, BitTypeU32, bit, raw",
"from lf.win.dtypes import (\n FILETIME_LE, COLORREF, DWORD, WORD, BYTE, CLSID_LE, GUID_LE,\n LCID_LE\n)",
"from lf.win.con.dtypes import COORD_LE",
"__docformat__ = \"restructuredtext ... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3051,
0.0169,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.4153,
0.1356,
0,
0.66,
0.0455,
549,
0,
20,
0,
0,
549,
0,
0
],
[
14,
0,
0.5085,
0.0169,
0,
0.... | [
"\"\"\"Ctypes classes for shell link files\"\"\"",
"from lf.win.shell.link.dtypes import (\n HotKey, ShellLinkHeader, LinkInfoHeader, VolumeIDHeader, CNRLHeader,\n ConsoleDataBlock, ConsoleFEDataBlock, DarwinDataBlock,\n ExpandableStringsDataBlock, EnvironmentVariableDataBlock,\n IconEnvironmentDataBl... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.439,
0.0244,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.5854,
0.2195,
0,
0.66,
0.3333,
362,
0,
25,
0,
0,
362,
0,
0
],
[
14,
0,
0.7317,
0.0244,
0,
0.6... | [
"\"\"\"Windows shell link files\"\"\"",
"from lf.win.shell.link.objects import (\n ShellLink, FileAttributes, LinkFlags, ShellLinkHeader, StringData,\n LinkInfo, VolumeID, CNRL, ExtraDataBlock, ConsoleProps, ConsoleFEProps,\n DarwinProps, ExpandableStringsDataBlock, EnvironmentProps,\n IconEnvironment... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0099,
0.0006,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0116,
0.0006,
0,
0.66,
0.027,
220,
0,
1,
0,
0,
220,
0,
0
],
[
1,
0,
0.0132,
0.0006,
0,
0.66,... | [
"\"\"\"Objects for working with shell link files\"\"\"",
"from codecs import utf_16_le_decode as _utf16_le_decoder",
"from lf.dec import SEEK_SET",
"from lf.dtypes import (\n LITTLE_ENDIAN, ActiveStructuple, CtypesWrapper, Structuple\n)",
"from lf.dtypes.ctypes import uint32_le, uint16_le",
"from lf.ti... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1935,
0.0108,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2151,
0.0108,
0,
0.66,
0.0222,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3441,
0.2473,
0,
0.66... | [
"\"\"\"Constants for working with shell link files\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"SLDF_DEFAULT\", \"SLDF_HAS_ID_LIST\", \"SLDF_HAS_LINK_INFO\", \"SLDF_HAS_NAME\",\n \"SLDF_HAS_RELPATH\", \"SLDF_HAS_WORKINGDIR\", \"SLDF_HAS_ARGS\",\n \"SLDF_HAS_ICONLOCATION\", \"SLDF... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0388,
0.0023,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0457,
0.0023,
0,
0.66,
0.0091,
9,
0,
1,
0,
0,
9,
0,
0
],
[
1,
0,
0.0525,
0.0023,
0,
0.66,
... | [
"\"\"\"Constants for working with known folders\"\"\"",
"from uuid import UUID",
"from lf.windows.shell.consts import csidl",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"FOLDERID_AddNewPrograms\", \"FOLDERID_AdminTools\", \"FOLDERID_AppUpdates\",\n \"FOLDERID_CDBurning\", \"FOLDERID_Ch... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0845,
0.0047,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0939,
0.0047,
0,
0.66,
0.0167,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1455,
0.0986,
0,
0.66... | [
"\"\"\"Various constants for Constant Special Item ID list (CSIDLs)\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"CSIDL_DESKTOP\", \"CSIDL_INTERNET\", \"CSIDL_PROGRAMS\", \"CSIDL_CONTROLS\",\n \"CSIDL_PRINTERS\", \"CSIDL_MY_DOCUMENTS\", \"CSIDL_FAVORITES\", \"CSIDL_STARTUP\",\n \"... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.7407,
0.1852,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.8889,
0.037,
0,
0.66,
0.5,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.963,
0.1111,
0,
0.66,
... | [
"\"\"\"\nConstants for the Shell namespace\n\n.. moduleauthor:: Michael Murr (mmurr@codeforensics.net)\n\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"showwin\", \"csidl\", \"knownfolders\"\n]"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3396,
0.0189,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3774,
0.0189,
0,
0.66,
0.0714,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4528,
0.1321,
0,
0.66... | [
"\"\"\"Window state constants\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"SW_HIDE\", \"SW_SHOWNORMAL\", \"SW_SHOWMINIMIZED\", \"SW_SHOWMAXIMIZED\",\n \"SW_SHOWNOACTIVATE\", \"SW_SHOW\", \"SW_MINIMIZE\", \"SW_SHOWMINNOACTIVATE\",\n \"SW_SHOWNA\", \"SW_RESTORE\", \"SW_SHOWDEFAULT\... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
14,
0,
0.95,
0.15,
0,
0.66,
0,
272,
0,
0,
0,
0,
0,
5,
0
]
] | [
"__all__ = [\n \"consts\", \"recyclebin\", \"thumbsdb\", \"link\", \"objects\"\n]"
] |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.1146,
0.0064,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.1401,
0.0064,
0,
0.66,
0.1429,
864,
0,
1,
0,
0,
864,
0,
0
],
[
1,
0,
0.1465,
0.0064,
0,
0.66... | [
"\"\"\"Objects for working with shell data types\"\"\"",
"from lf.dec import SEEK_SET",
"from lf.dtypes import ActiveStructuple",
"from lf.dtypes.ctypes import uint16_le",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"SHITEMID\", \"ITEMIDLIST\"\n]",
"class SHITEMID(ActiveStructuple):\n ... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3051,
0.0169,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.3559,
0.0169,
0,
0.66,
0.04,
916,
0,
1,
0,
0,
916,
0,
0
],
[
14,
0,
0.3898,
0.0169,
0,
0.66,... | [
"\"\"\"Ctypes classes for the record data types in lf.win.dtypes\"\"\"",
"from lf.win import dtypes",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"GUID_LE\", \"GUID_BE\", \"CLSID_LE\", \"CLSID_BE\", \"LCID_LE\", \"LCID_BE\",\n \"FILETIME_LE\", \"FILETIME_BE\", \"HRESULT_LE\", \"HRESULT_BE... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.3396,
0.0189,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.3962,
0.0189,
0,
0.66,
0.25,
9,
0,
1,
0,
0,
9,
0,
0
],
[
14,
0,
0.434,
0.0189,
0,
0.66,
... | [
"\"\"\"Utilities for working with UUIDs (Deprecated).\"\"\"",
"from uuid import UUID",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"guid_to_uuid\"\n]",
"def guid_to_uuid(data1, data2, data3, data4):\n \"\"\"\n Converts a Microsoft GUID to Python UUID object (Deprecated).\n\n :para... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.5806,
0.0323,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.6452,
0.0323,
0,
0.66,
0.125,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.7258,
0.129,
0,
0.66,
... | [
"\"\"\"Constants for Windows fonts\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"FF_DONTCARE\", \"FF_ROMAN\", \"FF_SWISS\", \"FF_MODERN\", \"FF_SCRIPT\",\n \"FF_DECORATIVE\"\n]",
"FF_DONTCARE = 0",
"FF_ROMAN = 0x10",
"FF_SWISS = 0x20",
"FF_MODERN = 0x30",
"FF_SCRIPT = 0x40"... |
# Copyright 2010 Michael Murr
#
# This file is part of LibForensics.
#
# LibForensics is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later ver... | [
[
8,
0,
0.0629,
0.0035,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0699,
0.0035,
0,
0.66,
0.0083,
959,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1171,
0.0909,
0,
0.66... | [
"\"\"\"Constants for virtual key codes.\"\"\"",
"__docformat__ = \"restructuredtext en\"",
"__all__ = [\n \"VK_LBUTTON\", \"VK_RBUTTON\", \"VK_CANCEL\", \"VK_MBUTTON\", \"VK_BACK\", \"VK_TAB\",\n \"VK_CLEAR\", \"VK_RETURN\", \"VK_SHIFT\", \"VK_CONTROL\", \"VK_MENU\", \"VK_PAUSE\",\n \"VK_CAPITAL\", \"V... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.