Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
echo "Please enter password to install testing tools" | |
sudo apt-get install -y coreutils mtr-tiny gist curl | |
OUTPUT=$(/bin/mktemp /tmp/SNAPDEBUG.XXXX.txt) | |
{ | |
set -x | |
cd /tmp | |
date -R |
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
diff --git a/src/docker-wrapper b/src/docker-wrapper | |
index 9c78334..802f8b7 100755 | |
--- a/src/docker-wrapper | |
+++ b/src/docker-wrapper | |
@@ -2,7 +2,7 @@ | |
export DOCKER_ENV="$SNAP/docker-env" | |
export PATH="$DOCKER_ENV/usr/sbin:$DOCKER_ENV/usr/bin:$DOCKER_ENV/sbin:$DOCKER_ENV/bin:$PATH" | |
export LD_LIBRARY_PATH="$DOCKER_ENV/lib:$DOCKER_ENV/usr/lib:$DOCKER_ENV/lib/x86_64-linux-gnu:$DOCKER_ENV/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH" | |
-export PYTHONPATH="$DOCKER_ENV/lib/python2.7/site-packages" | |
+export PYTHONPATH="$DOCKER_ENV/lib/python2.7/site-packages:$DOCKER_ENV/lib/python2.7/site-packages/yaml" |
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
area["ISO3166-1:alpha3"="TWN"]->.boundaryarea; | |
( | |
node["natural"="peak"](area.boundaryarea); | |
); | |
out meta; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Building snapcraft/xenial-i386:2.32 ... continue? [y]squid-deb-proxy | |
+ docker inspect --format={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}} squid-deb-proxy | |
+ docker build --force-rm --build-arg http_proxy=http://172.17.0.2:8000 -t snapcraft/xenial-i386:2.32 . | |
Sending build context to Docker daemon 4.608kB | |
Step 1/22 : FROM snapcraft/ubuntu-base:i386-16.04.2 | |
---> a4e9ef1a41bd | |
Step 2/22 : MAINTAINER Rex Tsai "http://about.me/chihchun" | |
---> Using cache | |
---> aa857b9c594e | |
Step 3/22 : ENV SNAPCRAFT_VERSION 2.32 |
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
命令稿啟動於 2017年05月27日 (週六) 00時39分12秒 | |
$ : 1495816752:0;script.sh [C[C[C[C[C[C[C[C[C[C[C[C34:0;docker run -t -i --rm -p 4444:4444 kali-metasploit:trunk [C[C[1P[1P[1P[1P[1P[1P[1P[1P[1P[1P[1P[1P[1P[1P[1P^C | |
$ | |
$ | |
$ | |
$ | |
$ docker run -t -i --rm -p 4444:4444 kali-metasploit:trunk | |
[*] Starting the Metasploit Framework console.../ [*] Starting the Metasploit Framework console...- [*] Starting the Metasploit Framework console...\ [*] starting the Metasploit Framework console...| [*] STarting the Metasploit Framework console.../ [*] StArting the Metasploit Framework console...- [*] StaRting the Metasploit Framework console...\ [*] StarTing the Metasploit Framework console...| [*] StartIng the Metasploit Framework console.../ [*] StartiNg the Metasploit Framework console...- [*] StartinG the Metasploit Framework console...\ [*] Starting the Metasploit Framework console...| [*] Starting The Metasploit Framework console.../ [*] Starting tHe Metasploit Framework console...- [*] Starting thE Metasp |
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
% cat /etc/apt/sources.list.d/zesty.list | |
deb http://tw.archive.ubuntu.com/ubuntu/ zesty restricted main universe multiverse | |
deb-src http://tw.archive.ubuntu.com/ubuntu/ zesty restricted main universe multiverse | |
% cat /etc/apt/preferences.d/zesty | |
Package: * | |
Pin: release a=zesty | |
Pin-Priority: 300 |