Important
It is always recommended to use the lastest version of Metashape to ensure the performance and security.
Table of Contents
| #!/usr/bin/env python | |
| # Quick and dirty demonstration of CVE-2014-0160 by | |
| # Jared Stafford (jspenguin@jspenguin.org) | |
| # Modified so that it finds cookies | |
| import sys | |
| import struct | |
| import socket | |
| import time | |
| import select |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "github.com/gorilla/websocket" | |
| "io" | |
| "log" | |
| "net/http" | |
| "os/exec" |
| -- LR imports | |
| local LrApplication = import("LrApplication") | |
| local LrApplicationView = import("LrApplicationView") | |
| local LrBinding = import("LrBinding") | |
| local LrDevelopController = import("LrDevelopController") | |
| local LrDialogs = import("LrDialogs") | |
| local LrExportSession = import("LrExportSession") | |
| local LrFileUtils = import("LrFileUtils") | |
| local LrFunctionContext = import("LrFunctionContext") | |
| local LrLogger = import("LrLogger") |
Important
It is always recommended to use the lastest version of Metashape to ensure the performance and security.
Table of Contents