(Project)(Idea)(Test) Script Master (Alpha)

Questions about programming languages and debugging
Post Reply
bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

(Project)(Idea)(Test) Script Master (Alpha)

Post by bubzuru »

let me just say its late , im high, and iv had a long day so bare with me.

now i see the same questions\answers all the time.

how do be a 1337 h4x0r ??
learn to code
well where do i start, language and so on ?
try batch or vbs and progress
etc etc etc etc ^^ that was kinda short and sweet but you get the idea

i remember making my first batch file, it felt great. ok im rambling so whats the idea ?

Script Master:
A basic all in one ide\compiler(of sorts) for windows scripting languages. with everything you need all there in one tool. here is a screenshot of the first alpha version the gui will change alot as stuff gets added
Image

this version only supports powershell scripts, the highlighting is C#, scripts are not encrypted and there are probably alot of bug but its an alpa,
i think it could be a very good tool for people wanting to learn to code, i wish i had something like thus when i wrote my first batch file. and now with powershell the possibility are endless

Features\Good Points
*Everything you need in one app (run\edit\etc)
*quick access to needed console (powershell.exe, cmd.exe, cscript.exe)
*Compile your scripts into an executable file (only 8kb overhead)
*Auto indentation in code editor

Ideas
*i have a few ideas about encrypted ps1 files (can allready run some commands from memory)
*lua suport
*python Suport

Download and help to test improve
http://qshare.com/get/1110265/SM.rar.html" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
[img]http://www.slackware.com/~msimons/slackware/grfx/shared/greymtlSW.jpg[/img]

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Re: (Project)(Idea)(Test) Script Master (Alpha)

Post by bubzuru »

little bug, you will need the pascal.xml file in the same dir (attatched rename to pascal.xml)

just as a quick example of the power of this. crate a new script in script master and add this code then run

Code: Select all

$mysource = @"
public class CinaScript
{
   public static int RuncCode()
   {
      return 100 + 100;
   }
}
"@

Add-Type -TypeDefinition $mysource

$var = [CinaScript]::RuncCode()

write-host $var #will output 200. we just ran c# code so we can even call winapi  
:evil:
Attachments
pascal.rar
(401 Bytes) Downloaded 120 times
[img]http://www.slackware.com/~msimons/slackware/grfx/shared/greymtlSW.jpg[/img]

User avatar
skulldragon_001
On the way to fame!
On the way to fame!
Posts: 26
Joined: 21 Mar 2010, 17:00
14
Contact:

Re: (Project)(Idea)(Test) Script Master (Alpha)

Post by skulldragon_001 »

Reminds me of AHK/AutoIt...

Running on XP SP3...
File > New Script = Unhandled exception:
"Cannot load the 'SciLexer.dll' module into memory."

Also, when you exit SM, powershell.exe doesn't get terminated and stays in memory.

Well, at least you have that proper error reporting module inside the program.

Code: Select all

************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Cannot load the 'SciLexer.dll' module into memory. ---> System.ComponentModel.Win32Exception (0x80004005): The specified module could not be found
   at ScintillaNET.Scintilla.LoadModule()
   at ScintillaNET.Scintilla.get_CreateParams()
   at System.Windows.Forms.Control..ctor(Boolean autoInstallSyncContext)
   at ScintillaNET.Scintilla..ctor()
   at WindowsFormsApplication3.Form2.InitializeComponent()
   at WindowsFormsApplication3.Form2..ctor()
   at WindowsFormsApplication3.Form1.CreateChild(String name)
   at WindowsFormsApplication3.Form1.toolStripButton3_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
WindowsFormsApplication3
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/xxx/Desktop/SM/SM/ScriptMaster.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.278 built by: RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.282 built by: RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 built by: RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
ScintillaNET
    Assembly Version: 2.5.0.0
    Win32 Version: 2.5.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/xxx/Desktop/SM/SM/ScintillaNET.DLL
----------------------------------------

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Re: (Project)(Idea)(Test) Script Master (Alpha)

Post by bubzuru »

thanx for actually testing, i will fix this up later.

did you put the pascal.xml file in the same dir ?
[img]http://www.slackware.com/~msimons/slackware/grfx/shared/greymtlSW.jpg[/img]

User avatar
skulldragon_001
On the way to fame!
On the way to fame!
Posts: 26
Joined: 21 Mar 2010, 17:00
14
Contact:

Re: (Project)(Idea)(Test) Script Master (Alpha)

Post by skulldragon_001 »

bubzuru wrote:thanx for actually testing, i will fix this up later.

did you put the pascal.xml file in the same dir ?
Yes I did. I also tried launching the program from lower directory, from C:\SM, but no difference.

Well, why not help, might learn something new too. I wrote my last big project like 5 years ago. Now it's all forgotten.
What I hate most of all, is untested program / building programs only for yourself. Every bug has to be whacked dead. And always listen to what customer wants, not, how you like it. It's my pleasure to help you to try turn it into possible customer magnet.

Post Reply