來玩 PDP-11 配備第七版的 UNIX

開機進入 PDP-11:

pdp-11

用 UNIX 7ed 中的 cc 編譯和執行 C 語言的程式:

pdp-11-c

Turn your PC into a PDP-11 running Seventh Edition UNIX. This way you can run UNIX just like Dennis Ritchie and Ken Thompson did back in 1979. This is a sanos port of Bob Supnik’s PDP-11 simulator. I have made an ISO image with sanos, the PDP-11 simulator, and the UNIX V7 kit from The Computer History Simulation Project. Just put the CD-ROM in your PC and boot. Then your PC is turned into a PDP-11 running UNIX V7! This is great fun if you’re a nostalgic UNIX geek.

If your want to try the UNIX V7 demo first download and unzip the ISO image. You can burn this image to a CD-ROM using your favorite CD-burner program and then boot the computer from the CD-ROM. You can also try it out using VMware by setting pdp11.iso as the ISO image for the CD-ROM device. You can get the source I have used to build the image here.

When you boot from the CD-ROM, sanos boots and starts the PDP-11 simulator. The simulator then boots UNIX V7 from the image.

  • At the boot prompt type: b
  • At the @ prompt type: boot<enter>
  • At the : prompt type: rl(0,0)rl2unix<enter>
  • At the # prompt type <ctrl-d>
  • Login as root with password root

Your UNIX V7 system is now up and running. You can use your ordinary UNIX commands like cat, ls, man, etc.

You can try to compile and run a simple C program:

逆向工程求職記

這裡有個十分有趣的員工招募啟事。

一家德國公司徵求逆向分析工程師,應徵者得先實作三項挑戰(底下有附檔),該公司將根據逆向實作的程度,來決定要不要錄取。

各位有興趣到德國科隆、波恩、柏林工作嗎?可以挑戰看看喔!(反正台灣只有22K,到海外工作,或許會有不錯的待遇,以及新奇、有趣的發展。 😉 )

這家公司叫「德國聯邦情報局」!!!

Reversing Challenge

Wir suchen für unsere Standorte im Großraum Köln/Bonn und Berlin qualifizierte Mitarbeiterinnen und Mitarbeiter im Bereich Software Reverse Engineering.

Um Ihnen die Möglichkeit zu geben uns von Ihrer Qualifikation zu überzeugen, haben wir drei Aufgaben vorbereitet, die gestaffelt nach unterschiedlichen Schwierigkeitsgraden Ihre Analysefähigkeiten in diesem Bereich testen.

Lösen Sie die Aufgaben soweit Sie dazu in der Lage sind und legen Sie den ausgefüllten Antwortbogen unserer Stellenanzeige mit der Kennziffer TA/052-16A bei.

Alle für die Aufgaben notwendigen Materialien sowie den Antwortbogen als PDF finden Sie im unten verlinkten ZIP-Archiv.

Wir wünschen Ihnen viel Spaß beim Reversen und freuen uns auf Ihre Bewerbung.

BND Reversing Challenge (zip, 502KB)

 

Pwntools v3.0 (CTF 函式庫框架) 推出!

Pwntools 是一款 CTF 競賽(資安搶旗攻防賽)框架,以及漏洞開發的函式庫,以 Python 設計而成(Python 2.7)。

Pwntools 網址:http://pwntools.com/

pwntools is a CTF framework and exploit development library. Written in Python, it is designed for rapid prototyping and development, and intended to make exploit writing as simple as possible.


 

Try It Now!

You can now do a live demo of Pwntools, right in your browser. Alternately, you can SSH to the same host, and log in as user zerocool with this private key (passwordi_promise_not_to_be_evil).

It will drop you into a clean, Docker-ized container. There is nothing of value on the VPS, so please don’t be evil.

Documentation

Our documentation is available at docs.pwntools.com

To get you started, we’ve provided some example solutions for past CTF challenges in our write-ups repository.

Installation

pwntools is best supported on 64-bit Ubuntu 12.04 and 14.04, but most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.). Python 2.7 is required.

Most of the functionality of pwntools is self-contained and Python-only. You should be able to get running quickly with

If you’d like to be an early tester of the the current beta release, add --pre to the command-line.

However, some of the features (assembling/disassembling foreign architectures) require non-Python dependencies. For more information, see thecomplete installation instructions here.

微軟宣佈:PowerShell 開源了,並且能在 Linux 上執行!

消息來源:https://azure.microsoft.com/en-us/blog/author/jsnover/

powershell-opensrc

PowerShell for Linux 現在可以在 GitHub 找得到喔。。。

微軟正以實際行動證明他是愛呆丸啦。。。不是,是愛 Linux 啦。。。

「You’ve heard Satya Nadella say “Microsoft loves Linux” and that’s never been more true than now.

您必定聽過微軟執行長說:“微軟愛 Linux”,這話此刻再真實不過了。」

誰說 Windows 和 Linux 不能交配(交換配置)呢?— 這句是我說的。

ms-love-linux

======

全文如下:

Today’s customers live in a multi-platform, multi-cloud, multi-OS world – that’s just reality. This world brings new challenges and customers need tools to make everything work together. Microsoft is working company-wide to deliver management tools that empower customers to manage any platform, from anywhere, on any device, using Linux or Windows. This shift to a more open, customer-obsessed approach to deliver innovation is one of the things that makes me most excited to come to work every day.

You’ve heard Satya Nadella say “Microsoft loves Linux” and that’s never been more true than now. Nearly one in three VMs on Azure are Linux. Nearly 60 percent of third-party IaaS offers in the Azure Marketplace are open source software (OSS). We have forged strong industry partners to extend choice to our customers. We’ve announced SQL Server on Linux, as well as open sourced .NET. We added Bash to Windows 10 to make it a great platform for developing OSS. And, we’re active contributors and participants to numerous open source projects (e.g. OpenSSH, FreeBSD, Mesos, Docker, Linux and many more) across the industry.

Today, we are taking the next step in our journey. I am extremely excited to share that PowerShell is open sourced and available on Linux. (For those of you who need a refresher, PowerShell is a task-based command-line shell and scripting language built on the .NET Framework to help IT professionals control and automate the administration of the Windows, and now Linux, operating systems and the applications that run on them.) I’m going to share a bit more about our journey getting here, and will tell you how Microsoft Operations Management Suite can enhance the PowerShell experience.

The journey to opening up PowerShell

Let’s start the journey to PowerShell on Linux, and an open sourced version with a story…

My customer was upset.

Early in the days of Monad (before it was PowerShell), I gave a demo to an executive of a large customer. He loved it but now he was angry with me.

He had asked me in what language it was implemented and was unhappy with my answer: C#. Confused, I asked why that was a problem. “Because” he told me, “Monad is exactly the right approach and I want to standardize my entire company on it, but I can’t because .NET is not available on Linux!”

In the past, Microsoft’s business focus meant that .NET, and thus PowerShell, were only available on Windows. But this is a new Microsoft. Satya’s leadership and Azure have shifted us to a more open, customer-centric, mindset captured perfectly in this photo:

Microsoft loves Linux_2

Microsoft wants to earn customers’ preference as the platform for running all their workloads – Linux as well as Windows. This new thinking empowered the .NET team to port .NET Core to Linux and that in turn, enabled PowerShell to port to Linux as well. PowerShell on Linux is now designed to enable customers to use the same tools, and the same people, to manage everything from anywhere. It is initially available on Ubuntu, Centos, as well as Red Hat, and also runs on Mac OS X. More platforms will be added in the future. You can download Alpha builds and check out the source code from GitHub.

Now, users across Windows and Linux, current and new PowerShell users, even application developers can experience a rich interactive scripting language as well as a heterogeneous automation and configuration management that works well with your existing tools. Your PowerShell skills are now even more marketable, and your Windows and Linux teams, who may have had to work separately, can now work together more easily.

So, where are we in this journey? We are in the beginning stages and in learning mode. We started by open sourcing small portions of PowerShell and talking to a number of our partners who were experienced with open source to understand what it took to succeed. What we learned, is that it is critical that individual users can use Git to checkout code, make changes, compile everything on their machines and run all the tests to verify that their change didn’t break anything. This required a large investment in our engineering/build/test systems. We also worked to define a governance model so we had clear roles, responsibilities, and processes so that community contributions could be smoothly incorporated into the product.

The PowerShell team has always prided itself on being a very community focused team but this announcement takes it to the next level by making the source code available and by adopting an open source development model where we can enjoy a deeper connection with the community in RFCs, issues and accept contributions directly. We also needed to extend our community since open source, like so many things, takes a village and that village is key to a great experience! We are partnering with third party companies – Chef, Amazon Web Services, VMware, and Google to name a few – to create a rich, seamless experience across the platforms you know and use.

As we port PowerShell to Linux, we are making sure that we are a first class citizen on that platform. We fit in well with the architecture, idioms and existing tools. This was pretty easy as most of the original PowerShell team had deep Unix backgrounds and that shows in our design. There were a number of little changes that we made and two big things:

  1. We created a PowerShell Editor Service. This allow users to choose from a range of editors (VS Code and Sublime with others to follow) and get a great PowerShell authoring experience with Intellisense, debugging, etc.
  2. We will be extending the PowerShell Remoting Protocol (MS-PSRP) to use OpenSSH as a native transport. Users will have the option to use SSH or WINRM as a transport.

The initial release is an “alpha” and is community supported. In the future, we will deliver an official Microsoft released version of PowerShell based on open source to anyone running a supported version of Windows or *nix. The timing of the official Microsoft version will be based upon community input and business needs. We hope all of you will help us get it right!

Extending the PowerShell experience with Microsoft Operations Management Suite

I also want to tell you more about how today’s PowerShell news extends what you can do with our cloud management solution, Operations Management Suite (OMS). OMS gives you visibility and control of your applications and workloads across Azure and other clouds. Integral to this, it enables customers to transform their cloud experience when using PowerShell on both Linux and Windows Server. OMS Automation elevates PowerShell and Desired State Configuration (DSC) with a highly available and scalable management service from Azure. You can graphically author and manage all PowerShell resources including runbooks, DSC configurations and DSC node configurations from one place.

With OMS hybrid runbook worker, you can extend your OMS Automation capability and apply, monitor and update configurations anywhere, including on-premises. Today we also made the OMS monitoring agent for Linux generally available. Together, customers can gain rich insights and real-time visibility into their Linux workloads, and the power to quickly remediate any issues that may arise.

We hope that all of you will take the time to test drive PowerShell on Linux and let us know what you think! You can also learn more about OMS Automation here. And, be sure to check us out at LinuxCon next week. Wim Coekaerts will be giving a keynote address, we’ll have a booth where we’ll be showing PowerShell, and I’ll be doing a session that will be packed with demos.

If you are new to PowerShell, a great way to start learning is with our Learning PowerShell repository on GitHub. We also offer a free Microsoft Virtual Academy online course: Getting Started with PowerShell 3.0 Jump Start. You’ll want to join/participate in the PowerShell Community at powershell.org/ and follow the PowerShell Team blog. We’ll be updating these to meet the needs of the Linux community (e.g. examples) in the near future.

This has been a long time coming and it is going to be a lot of fun so please join us so that together we can produce a tool that knocks our socks off every time we use it.

simplenote 筆記開源了。。。

simplenote 是一款好用的筆記軟體,可在多種平台上操作,包括 Android、Mac、iOS、Windows 以及 Linux,2013 年 WordPress.com 母公司買下 simplenote,並於今年 8 月 11 日正式宣佈:simplenote 以 GPLv2 在 GitHub 釋出原始碼

消息來源:

iOS, Android, and macOS Apps Now Open Source

以下是在 OB2D Linux 中執行 simplenote 的樣子:

simplenote