在 OB2D Linux 下分析 apt.dll：;-))))
用 UNIX 7ed 中的 cc 編譯和執行 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
12345678910111213141516171819202122232425 KDF11B-BH ROM V0.9512KB MEMORY9 STEP MEMORY TESTSTEP 1 2 3 4 5 6 7 8 9TOTAL MEMORY ERRORS = 0CLOCK ENABLEDType ? for HELPEnter one of [Boot, Diagnose, Help, List, Map]:bTRYING UNIT DL0BOOTING FROM DL0@bootNew boot, known devices are hp ht rk rl rp tm vt:rl(0,0)rl2unixmem = 177856# Restricted rights: Use, duplication, or disclosuresis subject to restrictions stated in your contract withWestern Electric Company, Inc.Thu Sep 22 19:44:08 EDT 1988login: rootPassword:#
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:
1234 # cd /usr/src# cat hello.c# cc -o hello hello.c# hello
各位有興趣到德國科隆、波恩、柏林工作嗎？可以挑戰看看喔！（反正台灣只有22K，到海外工作，或許會有不錯的待遇，以及新奇、有趣的發展。 😉 )
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.
Pwntools 是一款 CTF 競賽（資安搶旗攻防賽）框架，以及漏洞開發的函式庫，以 Python 設計而成（Python 2.7）。
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.
1234567 from pwn import *context(arch = 'i386', os = 'linux')r = remote('exploitme.example.com', 31337)# EXPLOIT CODE GOES HEREr.send(asm(shellcraft.sh()))r.interactive()
It will drop you into a clean, Docker-ized container. There is nothing of value on the VPS, so please don’t be evil.
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.
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
123 apt-get updateapt-get install python2.7 python-pip python-dev git libssl-devpip install --upgrade pwntools
If you’d like to be an early tester of the the current beta release, add
--preto 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 for Linux 現在可以在 GitHub 找得到喔。。。
微軟正以實際行動證明他是愛呆丸啦。。。不是，是愛 Linux 啦。。。
「You’ve heard Satya Nadella say “Microsoft loves Linux” and that’s never been more true than now.
誰說 Windows 和 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 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:
- 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.
- 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.