Skip to content

Commit 404d2fc

Browse files
committed
fixed images/files
1 parent 329c0c7 commit 404d2fc

6 files changed

+7
-7
lines changed

content/blog/2014-07-03-doorbot-overflow.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ categories: hacker_school security
77

88
Today was presentation day at Hacker School. I have a 10 minute talk about "building a better doorbot" which was secretly a talk about exploiting stack buffer overflows. People seemed to enjoy it.
99

10-
The slides are available [here](/assets/files/doorbot_overflow.pdf), and the source code is [here](https://github.com/mveytsman/doorbot_overflow).
10+
The slides are available [here](/files/doorbot_overflow.pdf), and the source code is [here](https://github.com/mveytsman/doorbot_overflow).

content/blog/2014-07-12-delimited-continuations-in-ruby.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ puts "i is #{i}"
5252

5353
We can even build a reverse GOTO (known as the COMEFROM, implementation courtesy of [Wikipedia](https://en.wikipedia.org/wiki/COMEFROM#Practical_uses)).
5454

55-
{% codeblock ruby %}
55+
```ruby
5656
$come_from_labels = {}
5757

5858
def label(l)
@@ -66,7 +66,7 @@ def come_from(l)
6666
$come_from_labels[l] = block
6767
end
6868
end
69-
{% endcodeblock %}
69+
```
7070

7171
## Problems Abound
7272

content/blog/2014-07-28-how-to-take-over-any-java-developer.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ I'm happy that Sonatype made this change in their policy, and I hope they contin
1818

1919
The other day I started hacking on a Clojure project of mine, when I saw my firewall display this:
2020

21-
{% img /img/dilettante/firewall.png 500 %}
21+
![firewall](/img/dilettante/firewall.png)
2222

2323
I'm downloading clojure.jar from [http//repo.maven.apache.org](http://repo.maven.apache.org) over port 80! This means that I'm going to be downloading JARs over unencrypted http. I thought this was an [issue](https://github.com/technomancy/leiningen/issues/1604) with [leiningen](http://leiningen.org/) at first. As it turns out it's not lein's fault at all. Clojure.jar, and a whole lot of other JARs that are important in the Java/Clojure/Scala/etc world are officially hosted on [Maven Central](http://search.maven.org/), which is a public service provided by [Sonatype](http://www.sonatype.com/). Sonatype has a policy that they only allow SSL access to people who have authentication tokens. **In order to get an authentication token and SSL access, you need to donate $10 to the Apache foundation.** If you don't believe me, the donate page is [here](http://www.sonatype.com/clm/secure-access-to-central), and the blog post announcing this policy is [here](http://www.sonatype.com/clm/secure-access-to-central). They even mention man-in-the-middle attacks on it.
2424

2525
Because authentication tokens are issued per user/organization, tools like maven and leiningen can't bundle authentication tokens. If you're pulling down some Java project and installing its dependencies, you're not going over SSL. This policy was confirmed by a Sonatype employee when I got into a twitter tiff about this:
2626

27-
{% img /img/dilettante/tweet.png 500 %}
27+
![tweet](/img/dilettante/tweet.png)
2828

2929

3030
Unless you take very careful steps that involve paying someone $10, JARs you download can be man-in-the-middled, and code you execute on your system can be replaced by malware.
@@ -37,11 +37,11 @@ To prove how easy this is to do, I wrote [dilettante](https://github.com/mveytsm
3737

3838
Proxying HTTP traffic through dilettante will backdoor any JARs downloaded from maven central. The backdoored version will retain their functionality, but display a nice message to the user when they use the library. You can see the video below:
3939

40-
{% video http://blog.ontoillogical.com/assets/files/dilettante_screencast.mp4 800 %}
40+
<video width="100%" controls="" poster=""><source src="/files/dilettante_screencast.mp4" type="video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;" /></video>
4141

4242
Or a screenshot:
4343

44-
{% img /img/dilettante/screen.png 800 %}
44+
![screen](/img/dilettante/screen.png)
4545

4646
You can find the code [here](https://github.com/mveytsman/dilettante)
4747

static/files/bangbangcon2015.pdf

5.43 MB
Binary file not shown.
5.62 MB
Binary file not shown.

static/files/doorbot_overflow.pdf

1.43 MB
Binary file not shown.

0 commit comments

Comments
 (0)